'Sending IP Address through serial
first of all, I'm a bit confused about this problem so if you see any other solution it would be perfect.
I'm connecting an ESP32 to my network and sending the IP address obtained with WiFi.localIP() to a nordic nRF52 DK (works as an arduino here).
Then I write this IP in one of the BLE characteristics I created.
The problem is that I don't know how to send it, the problem is the format.
this is how I try to add the value to the characteristic:
if(Serial.available())
{
Serial.println(Serial.read());
wifiIP_Char.setValue(Serial.read());
}
Regards, Pablo
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
