SWRA491A September 2015 – October 2016 CC2640 , CC2640R2F , CC2650 , CC2650MODA
URL Configuration service is implemented in eddystoneURLCfg.c. The application can access the nine characteristics of the service using URLCfgSvc_GetParameter() and URLCfgSvc_SetParameter(). The application registers a callback called when changes happen in the characteristics by the central. In this implementation, only a change in the Reset characteristic notifies the application.
Once the beacon device is connected with a central (such as a smart phone) in URL configuration mode, some of the system properties on the beacon device can be modified by the central through writing to characteristics, if the Lock State is FALSE. Only Unlock characteristic can be written to if Lock State is TRUE.
Updated characteristics are reflected on the corresponding properties in SimpleEddystoneBeacon_applyConfiguration() when the beacon device exits URL configuration mode to enter regular advertising mode by being disconnected for any reason, such as termination or time out. However, actions should be immediately taken when the Reset characteristic changes.