Error:no matching function for call to 'ThingsBoardSized<128>::RPC_Subscribe(RPC_Callback [4], unsigned int)'
I have worked on that code using ESP32. But i am facing this error. If anyone can guide me here.
Hi, do you use the latest version of the sdk and esp? Could you provide an example of your not working code? I have checked the example and actually it builds normally, without this issue.
If you have a look at Example_0002, you should see a small working example on how to use the Arduino ThingsBoard SDK to subscribe to RPC.
I'm assuming you used the RPC_Subscribe() command like this:
RPC_Subscribe(yourArray, 4)
This is not a valid parameter for this method tough, a working example would look like this
RPC_Subscribe(yourArray.cbegin(), yourArray.cend())
See the full example if you want to learn more.
@imbeacon I think this issue can be closed, as well the examples work and are a good basis to start using the library.