although it works, it seems very slow.. hmm, alright, i forgot i increased the UART buffer when i started the project, been updating teensyduino since, i moved the buffers from 64 to 256 and priority 0, mqtt is running
as usual, ignore the DEC data, thats debug... Publish received and PacketID are callbacks printed
Code:
DEC: AA 55 A2 A2 39 1
DEC: AA 55 A2 A2 1 3
DEC: AA 55 A2 A2 10 3
DEC: AA 55 A2 A2 4 1
DEC: AA 55 38 38 7 1
DEC: AA 55 38 38 10 1
DEC: AA 55 38 38 8 1
DEC: AA 55 38 38 12 1
DEC: AA 55 38 38 14 1
DEC: AA 55 38 38 3 1
*** WiFi Status 6: WL_DISCONNECTED ***
*** MQTT disconnected ***
*** WiFi Status 3: WL_CONNECTED ***
DEC: AA 55 38 38 6 0 1A
Packet ID: 26
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 1B
Packet ID: 27
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 1C
Packet ID: 28
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 1D
Packet ID: 29
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 1E
Packet ID: 30
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 1F
Packet ID: 31
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 20
Packet ID: 32
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 21
Packet ID: 33
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 22
Packet ID: 34
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 23
Packet ID: 35
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 24
Packet ID: 36
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 25
Packet ID: 37
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 26
Packet ID: 38
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 27
Packet ID: 39
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 28
Packet ID: 40
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 29
Packet ID: 41
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 2A
Packet ID: 42
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 2B
Packet ID: 43
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 2C
Packet ID: 44
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 2D
Packet ID: 45
****************************
Publish received.
topic: teensquitto/ payload: hello world
qos: 2 dup: 0
retain: 0 len: 11 index: 0 total: 11
DEC: AA 55 38 38 6 0 2E
as usual, ignore the DEC data, thats debug... Publish received and PacketID are callbacks printed