The requested task is to be able to create a custom RPC call that has a [login to view URL] to a remote server in between.
The case scenario is as follows:
An ESP32 device that is connected to internet and registered in [login to view URL] and has the GATT service enabled
A user, that has no internet access, but makes a RPC Call by bluetooth to the ESP32. The ESP32 will recieve this request (with custom data) and performs a simple HTTP Rest query to a remote server, depending on the server response, it should return some values directly to the GATT Connection.
The main structure is done in MJS, the requierement is to be able to call the RPC from mJS and not C, althow C function can be used and called under ffi integration. Attached is the actual RPC handler. As you can see in the function, [login to view URL] is async, so it does not wait for the reply from the server before returning a value to the RPC call.
The goal is to wait for the server response, before returning and answer to the RPC call
Hi, I am an Electrical, Electronics and Embedded Engineer.
A PCB Designer, Arduino/Raspberry Pi, ESP32, ESP8266 and internet of things expert and have done this already.
I read through the job description very carefully and I am absolutely sure that I can do the project very well.
I have worked on similar projects to what you are looking for, and I am confident I can exceed your expectations.
I can achieve the results that you are asking for.I can complete your project on time and within your budget. Thanks