mirror of
				https://github.com/manuelbl/ttn-esp32.git
				synced 2025-10-31 18:50:33 +01:00 
			
		
		
		
	Rename sendBytes to transmitMessage
This commit is contained in:
		| @ -49,7 +49,7 @@ void sendMessages(void* pvParameter) | ||||
| { | ||||
|     while (1) { | ||||
|         printf("Sending message...\n"); | ||||
|         TTNResponseCode res = ttn.transmitBytes(msgData, sizeof(msgData) - 1); | ||||
|         TTNResponseCode res = ttn.transmitMessage(msgData, sizeof(msgData) - 1); | ||||
|         printf(res == kTTNSuccessfulTransmission ? "Message sent.\n" : "Transmission failed.\n"); | ||||
|  | ||||
|         vTaskDelay(TX_INTERVAL * 1000 / portTICK_PERIOD_MS); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user