Skip to content

Commit 67e4626

Browse files
committed
Update PJON 13.0
1 parent 59a9b6e commit 67e4626

File tree

93 files changed

+4040
-2210
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+4040
-2210
lines changed

MySensors.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ MY_DEFAULT_RX_LED_PIN in your sketch instead to enable LEDs
388388
#include "hal/transport/RFM95/MyTransportRFM95.cpp"
389389
#elif defined(MY_PJON)
390390
#include "hal/transport/PJON/driver/PJON.h"
391+
#include "hal/transport/PJON/driver/PJONSoftwareBitBang.h"
391392
#if (PJON_BROADCAST == 0)
392393
#error "You must change PJON_BROADCAST to BROADCAST_ADDRESS (255u) and PJON_NOT_ASSIGNED to other one."
393394
#endif

hal/transport/PJON/MyTransportPJON.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* network topology allowing messages to be routed to nodes.
77
*
88
* Created by Henrik Ekblad <[email protected]>
9-
* Copyright (C) 2013-2019 Sensnology AB
9+
* Copyright (C) 2013-2020 Sensnology AB
1010
* Full contributor list: https://github.com/mysensors/MySensors/graphs/contributors
1111
*
1212
* Documentation: http://www.mysensors.org
@@ -21,7 +21,7 @@
2121
*
2222
*/
2323

24-
PJON<SoftwareBitBang> bus;
24+
PJONSoftwareBitBang bus;
2525

2626
// debug
2727
#if defined(MY_DEBUG_VERBOSE_PJON)
@@ -71,7 +71,7 @@ bool transportSend(const uint8_t to, const void *data, const uint8_t length, con
7171

7272
void _receiver_function(uint8_t *payload, uint16_t length, const PJON_Packet_Info &packet_info)
7373
{
74-
PJON_DEBUG(PSTR("PJON:RCV:TO=%" PRIu8 ",LEN=%" PRIu8 "\n"), packet_info.receiver_id, length);
74+
PJON_DEBUG(PSTR("PJON:RCV:TO=%" PRIu8 ",LEN=%" PRIu8 "\n"), packet_info.rx.id, length);
7575
if (!_packet_received) {
7676
_packet_len = length;
7777
_packet_received = true;

hal/transport/PJON/driver/LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
All the software included in this project is experimental and it is distributed "AS IS" without any warranty, use it at your own risk. All specifications, all related software implementations and documentation released as a part of this repository are and will always remain free for personal, educational, experimental and commercial purposes.
22

3-
Giovanni Blu Mitolo ([email protected]) Copyright 2010-2019
3+
Giovanni Blu Mitolo ([email protected]) Copyright 2010-2020
44

55
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
66

0 commit comments

Comments
 (0)