Updated ref
Dependencies: FXOS8700Q-driver MODSERIAL
Fork of AAT_LWM2M_K64F by
Diff: resources.h
- Revision:
- 53:ff25489c63af
- Parent:
- 52:74019970a2bf
- Child:
- 54:5f8d9f40acb8
diff -r 74019970a2bf -r ff25489c63af resources.h --- a/resources.h Fri Jan 20 12:34:35 2017 +0000 +++ b/resources.h Mon Jan 23 05:32:42 2017 +0000 @@ -81,8 +81,8 @@ // These are example resource values for the Device Object struct MbedClientDevice device = { - "RJio", // Manufacturer - "Netra2.0", // Type + "SwarrosTechPvtLtd", // Manufacturer + "ANtennaAlignment", // Type "0.01", // ModelNumber "007" // SerialNumber }; @@ -552,12 +552,12 @@ public: GnssCustomResource() { // create ObjectID with metadata custom tag - gnss_object = M2MInterfaceFactory::create_object("JioNetraGNSScompass"); + gnss_object = M2MInterfaceFactory::create_object("CustomGNSScompass"); M2MObjectInstance* gnss_inst = gnss_object->create_object_instance(); M2MResource* lat_res = gnss_inst->create_dynamic_resource("E", - "JioLatitude", + "CustomLatitude", M2MResourceInstance::FLOAT, true); // we can read this value @@ -567,7 +567,7 @@ lat_res->set_value(0.0); M2MResource* app_res = gnss_inst->create_static_resource("N", - "JioAppType", + "CustomAppType", M2MResourceInstance::STRING, STATIC_VALUE, sizeof(STATIC_VALUE)-1);