diff --git a/examples/SX127x/SX127x_Transmit/SX127x_Transmit.ino b/examples/SX127x/SX127x_Transmit/SX127x_Transmit.ino index 73304811..f8c0533a 100644 --- a/examples/SX127x/SX127x_Transmit/SX127x_Transmit.ino +++ b/examples/SX127x/SX127x_Transmit/SX127x_Transmit.ino @@ -2,7 +2,7 @@ RadioLib SX127x Transmit Example This example transmits packets using SX1278 LoRa radio module. - Each packet contains up to 256 bytes of data, in the form of: + Each packet contains up to 255 bytes of data, in the form of: - Arduino String - null-terminated char array (C-string) - arbitrary binary data (byte array) @@ -59,7 +59,7 @@ void loop() { Serial.print(F("[SX1278] Transmitting packet ... ")); // you can transmit C-string or Arduino string up to - // 256 characters long + // 255 characters long // NOTE: transmit() is a blocking method! // See example SX127x_Transmit_Interrupt for details // on non-blocking transmission method. diff --git a/examples/SX127x/SX127x_Transmit_FHSS/SX127x_Transmit_FHSS.ino b/examples/SX127x/SX127x_Transmit_FHSS/SX127x_Transmit_FHSS.ino index 9b8693e3..15ef3ae8 100644 --- a/examples/SX127x/SX127x_Transmit_FHSS/SX127x_Transmit_FHSS.ino +++ b/examples/SX127x/SX127x_Transmit_FHSS/SX127x_Transmit_FHSS.ino @@ -2,7 +2,7 @@ RadioLib SX127x Transmit with Frequency Hopping Example This example transmits packets using SX1278 LoRa radio module. - Each packet contains up to 256 bytes of data, in the form of: + Each packet contains up to 255 bytes of data, in the form of: - Arduino String - null-terminated char array (C-string) - arbitrary binary data (byte array) @@ -56,7 +56,7 @@ int transmissionState = RADIOLIB_ERR_NONE; // this is the packet that will be sent String longPacket = "Let's create a really long packet to trigger \ -lots of hop interrupts. A packet can be up to 256 bytes long. \ +lots of hop interrupts. A packet can be up to 255 bytes long. \ This packet is 222 bytes so using sf = 9, bw = 125, timeOnAir is \ 1488ms. 1488ms / (9*4.10ms) = 40 hops. Counter: "; diff --git a/examples/SX127x/SX127x_Transmit_Interrupt/SX127x_Transmit_Interrupt.ino b/examples/SX127x/SX127x_Transmit_Interrupt/SX127x_Transmit_Interrupt.ino index 8cf0f059..6d60cd72 100644 --- a/examples/SX127x/SX127x_Transmit_Interrupt/SX127x_Transmit_Interrupt.ino +++ b/examples/SX127x/SX127x_Transmit_Interrupt/SX127x_Transmit_Interrupt.ino @@ -2,7 +2,7 @@ RadioLib SX127x Transmit with Interrupts Example This example transmits LoRa packets with one second delays - between them. Each packet contains up to 256 bytes + between them. Each packet contains up to 255 bytes of data, in the form of: - Arduino String - null-terminated char array (C-string) @@ -56,10 +56,10 @@ void setup() { Serial.print(F("[SX1278] Sending first packet ... ")); // you can transmit C-string or Arduino string up to - // 256 characters long + // 255 characters long transmissionState = radio.startTransmit("Hello World!"); - // you can also transmit byte array up to 256 bytes long + // you can also transmit byte array up to 255 bytes long /* byte byteArr[] = {0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD, 0xEF}; @@ -114,10 +114,10 @@ void loop() { Serial.print(F("[SX1278] Sending another packet ... ")); // you can transmit C-string or Arduino string up to - // 256 characters long + // 255 characters long transmissionState = radio.startTransmit("Hello World!"); - // you can also transmit byte array up to 256 bytes long + // you can also transmit byte array up to 255 bytes long /* byte byteArr[] = {0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD, 0xEF};