I tried using the serial code in peripheral/examples to transmit At commands to the esp module but did no get any reply.Is there any reference example which I can use to connect the nrf52 kit to the internet using the esp8266 wifi module.
I tried using the serial code in peripheral/examples to transmit At commands to the esp module but did no get any reply.Is there any reference example which I can use to connect the nrf52 kit to the internet using the esp8266 wifi module.
Hi,
Unfortunately we don't have any AT commands examples. The UART example in our SDK is probably the best starting point, and you should make sure to read the ESP's datasheet and understand the AT protocol it uses.
i could configure the arduino to send At commands to the esp8266, Now i want to replicate the same using the nrf52840dk to uplaod data.
Can you also show us your code running on the nRF52?
I have not written a code on nrf52, i could not send data to the esp8266 using the uart of nrf52.
Can you give an equivalent code to the arduino used above.I am programming using segger studio.I am not fluent with nrf52 hence i test it on the arduino first.But since the board has an rx and tx i assume the same thing can be done on the nrf board.
Unfortunately I don't have time to port your Arduino code for you, but if you show me your work on the nRF52 I might be able to spot your errors. We can make this case private if you don't want to post it publically.
Ok but how can i define a rx and tx to send data to the esp8266
My understanding is that you have had a look at the UART Example? I don't have any other advice than to base your project on that example and make sure to format your AT command strings correctly.
My understanding is that you have had a look at the UART Example? I don't have any other advice than to base your project on that example and make sure to format your AT command strings correctly.