small-tou/arduino-aliyun-iot-sdk

sendEvent(const char *eventId, const char *param)-----what is the format of the param.

Closed this issue · 1 comments

i try may times,but also compile error。 i know it is json format ,pls give me a example., like this {"ledstatue": on} or other ......pls .tks.

the problem has already been solved. like this ("{"GeoLocation":{"CoordinateSystem":1,"Latitude":30.0466448333,"Longitude":103.749001}}").at begining ,i miss the "".so now is ok