nsp specific components for the NSP version of the impact endpoint
Dependents: mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet mbed_nsp_endpoint_nxp
Diff: NSPResourceFactory.cpp
- Revision:
- 2:a895137e9082
- Parent:
- 0:e1c4378df3fe
- Child:
- 3:53a7333dd07a
--- a/NSPResourceFactory.cpp Wed Mar 26 19:54:55 2014 +0000 +++ b/NSPResourceFactory.cpp Wed Mar 26 20:25:38 2014 +0000 @@ -121,7 +121,7 @@ this->createResource(ep_name,"/lt/0/on","1",(void *)&switch_cb,(sn_grs_resource_acl_e)(SN_GRS_GET_ALLOWED|SN_GRS_PUT_ALLOWED),(void *)&init_switch,(char *)NULL,"ipso:lt-on"); // Action: light on/off this->createResource(ep_name,"/lt/0/ctr","1",(void *)&switch_cb,(sn_grs_resource_acl_e)(SN_GRS_GET_ALLOWED|SN_GRS_PUT_ALLOWED),(void *)&init_switch,(char *)NULL,"ns:boolean"); // Action: light on/off this->createResource(ep_name,"/dev/mdl","Sensinode MBED Light",(void *)&mdltext_cb,(sn_grs_resource_acl_e)SN_GRS_GET_ALLOWED,(void *)&init_mdltext,"core#s","ipso:dev-mdl"); - this->createResource(ep_name,"/dev/mfg","NXP MBED",(void *)&mfgtext_cb,(sn_grs_resource_acl_e)SN_GRS_GET_ALLOWED,(void *)&init_mfgtext,"core#s","ipso:dev-mfg"); + this->createResource(ep_name,"/dev/mfg",PLATFORM_STRING,(void *)&mfgtext_cb,(sn_grs_resource_acl_e)SN_GRS_GET_ALLOWED,(void *)&init_mfgtext,"core#s","ipso:dev-mfg"); this->createResource("/gps/int","60","core#s","ns:counter"); this->createResource("/gps/fix","1","core#s","ns:boolean"); this->createResource("/nw/pipaddr","N/A","core#s","ns:v4addr");