sendEvent(const char *eventId, const char *param)-----what is the format of the param.
Closed this issue · 1 comments
giu-wxyao commented
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.
giu-wxyao commented
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