openmv / openmv-arduino-rpc

Remote Procedure/Python Call Library for Arduino
MIT License
32 stars 16 forks source link

Feature Request: RPC from Portenta M7 integer to Murata module --> LoRa module #5

Closed hpssjellis closed 3 years ago

hpssjellis commented 3 years ago

Feature request: RPC from Portenta M7 core to an integer on the Murata module. This is an extension from the solved request at https://github.com/arduino-libraries/MKRWAN/issues/87#issuecomment-817869691

Now that the Murata module is accessible using the "GrumpyOldPizza" method the M7 or M4 cores of the Portenta need to be able to communicate with it. I would like to test sending a simple integer from M7 to the Murata module. I have several examples of using the Portenta RPC here, but not sure what to do on the Murata side. This repo is probably a better starting point.

I might be able to do most of the code just not sure which example to start with. I know I need to set SerialLora Does anyone have any opinions?

.

.

Update for @facchinm @giulcioffi Using your methods I managed to connect with the Helium network in North America, tomorrow testing CayenneLPP JSON formatting and the adafruit.io MQTT with both the GrumpyOldPizza version and the MKRWAN method. TheThingsNetwork (TTN) should even be easier, however it is going through some growing pains from V2 to V3 so I will wait a bit to test it.

Looks like it reached 4 km in the city. image

hpssjellis commented 3 years ago

I think I will close this issue as I seem to be doing fine using UART3 from the Portenta to talk to the murata module when it is using Serial.