PJON (Padded Jittering Operative Network) is an experimental, arduino-compatible, multi-master, multi-media network protocol.
Changelog:
Bugfix:
Backward compatibility is preserved.
New specifications:
Changelog:
termios2
for generic baudrate support by @callalilychendelayMicroseconds
now uses select
to reduce the CPU usage by @GirgittPJON_Packet_Info
, see documentation
Bugfix:
This version is not backward compatible! If you need help see update from 12.x to 13.0
New specifications:
Changelog:
Bugfix:
Backward compatibility is preserved.
New specifications:
Changelog:
char
now changed in uint8_t
payload
parameter is now of type const void *
send_string
and receive_string
method names changed to send_frame
and receive_frame
Bugfix:
ThroughSerial
and ThroughSerialAsync
the full buffer handling (https://github.com/gioblu/PJON/issues/288) by @chestwood96If you want to know more and support PJON see the PJON protocol handbook and the PJON 12.0 big box.
This version is not backward compatible!
New specifications:
Changelog:
OS_PREAMBLE_PULSE_WIDTH
added to OverSampling to enable preamble length configuration (https://github.com/gioblu/PJON/commit/53769a4d3978d1865215f8c715edde4d126e7601)PJON_BROADCAST
, PJON_MASTER_ID
and PJON_NOT_ASSIGNED
constants can be predefined and changed if required as requested by Adrian Slawinskiinclude <...>
to include "..."
(https://github.com/gioblu/PJON/commit/6fcfd759c6f376bd1328a681bd644790fea021b2) as requested by @GirgittBugfix:
can_start
bug fixed (https://github.com/gioblu/PJON/issues/240) reported by @andrei-volkaucan_start
bug fixed (https://github.com/gioblu/PJON/commit/1f61a10eac7bba23c3f9a87b6c298428d6a09573)If your setup using W5x00 Ethernet shield and UDP freezes after an undetermined amount of time, it is affected by a bug present in the Ethernet library isolated and fixed by fred here.
Backward compatibility is preserved.
Changelog:
PJON_MAX_PACKETS = 0
routers support added by @fredilarsenset_RS485_delay
setter added to configure enable pin timing (https://github.com/gioblu/PJON/issues/210) by @hyndruidePJON_INCLUDE_ANY
documentation added by @sticilfaceuint16_t
now is uint8_t
, -46 bytes of program memory (https://github.com/gioblu/PJON/commit/506c936a8c0336721cd62ba007d05976a2c2ab5a)send_packet
, send_packet_blocking
and send
default header parameter value has been changed from PJON_FAIL
to PJON_NO_HEADER
or 01001000
(https://github.com/gioblu/PJON/commit/506c936a8c0336721cd62ba007d05976a2c2ab5a)PJON_DELAY
system call addedBugfix:
send_packet_blocking
recursion detection bugfix (https://github.com/gioblu/PJON/commit/220402dcbc6094feee5d7e8f9a59567f0a974ea2)send_packet_blocking
backoff bugfix (https://github.com/gioblu/PJON/commit/6e03ca910593943b628e5b0373d4b9f166fc5bad)PJONSlave
ESP8266 compilation errorChangelog:
PJONMaster
with check_slaves_presence
method can discard ids of slaves that are unreachablePJONMaster
and PJONSlave
addressing documentation addedsend_packet_blocking
data
type has been changed from uint8_t
to uint16_t
to contain all possible packet lengths and a pointer to a custom function has been added to ease integration: // Older versions
void error_handler(uint8_t code, uint8_t data) {
// User's code here
}
// v11
void error_handler(uint8_t code, uint16_t data, void *custom_pointer) {
// User's code here
}
Bugfix:
PJON_IO_PIN_TO_BIT
bugfix (https://github.com/gioblu/PJON/commit/6f55069fbc8fb3b03f988e4ac1410e880b1fdaad)Communication backward compatibility is preserved except for SoftwareBitBang mode 2 and 3. All programs using the error handler must be updated as described above.
Changelog:
Bugfix:
PJON_ID_REFRESH
request (https://github.com/gioblu/PJON/commit/0188e8a2ae6421be7c6ce49266661e2cd771cca4)aquire_id_multi_master
bugfix (https://github.com/gioblu/PJON/commit/3443bc560f7fed8b23b97f33ea3b56b7ecc75795)millis
in WINX86 and LINUX interfaces (https://github.com/gioblu/PJON/commit/7a3fa29d05d2c07b8192c24b95784b345e5c0895) by @fredilarsen9
minor compiler warningsNew specifications:
Changelog:
1
instead of a dedicated header bit100
Bugfix:
PJON_NOT_ASSIGNED
bugfix (https://github.com/gioblu/PJON/issues/152) reported by @maxidroms83update
call result insteadThis version is not backward compatible!
Changelog:
Bugfix:
send_packet_blocking
function bugfix (https://github.com/gioblu/PJON/commit/c74913981f265a0b4e0a75c610280967b13f7dc3)