Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 5 months ago.
How to connect LPC1768 with AWS IOT using MQTT ??
Hello,
I want to connect my LPC1768 Board with AWS IOT using MQTT Protocol and I am using AWS Shadow Service to Update data on AWS. So How can I do that ? If any sample code available please share with me.
Thanks, Dinesh
1 Answer
6 years, 5 months ago.
Hi dinesh,
I did similar thing on K64F. Here's my note. https://os.mbed.com/users/coisme/notebook/aws-iot-from-mbed-os-device/
Can you let me know what additional things required for LPC1768. ? Can I use Same project for LPC ? Thanks Dinesh
posted by 25 Jun 2018Hello @Osamu Koizumi I got following Error :
Error: Undefined symbol mbedtls_ctr_drbg_free (referred from /build/TLSSocket/TLSSocket.LPC1768.o). Error: Undefined symbol mbedtls_ctr_drbg_init (referred from /build/TLSSocket/TLSSocket.LPC1768.o). Error: Undefined symbol mbedtls_ctr_drbg_random (referred from /build/TLSSocket/TLSSocket.LPC1768.o). Error: Undefined symbol mbedtls_ctr_drbg_seed (referred from /build/TLSSocket/TLSSocket.LPC1768.o). Error: Undefined symbol mbedtls_entropy_free (referred from /build/TLSSocket/TLSSocket.LPC1768.o). Error: Undefined symbol mbedtls_entropy_func (referred from /build/TLSSocket/TLSSocket.LPC1768.o). Error: Undefined symbol mbedtls_entropy_init (referred from /build/TLSSocket/TLSSocket.LPC1768.o). Error: Undefined symbol mbedtls_ssl_conf_authmode (referred from /build/TLSSocket/TLSSocket.LPC1768.o). Error: Undefined symbol mbedtls_ssl_set_hostname (referred from /build/TLSSocket/TLSSocket.LPC1768.o).
posted by 25 Jun 2018I changed main.cpp as follows: LED_RED -> LED1, LED_GREEN -> LED2, LED_BLUE -> LED3, and BUTTON1 -> p20.
In addition, added to mbed_app.json in target_overrides section: "LPC1768": { "target.macros_add": ["MBEDTLS_TEST_NULL_ENTROPY", "MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES"] },
Then, compilation passed.
I think you need to add network connectivity and a button component to your LPC1768 to run this program.
posted by 25 Jun 2018Assigned to
6 years, 3 months ago.This means that the question has been accepted and is being worked on.