RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Introduction :
Websocket based protocol hence bi-directional asynchronous communication is possible between gateway and WEBPA Server in real-time. This is similar to SNMP-PA and TR069-PA.
Cloud PA will be implemented as a RDK-B component which would register with RDKB-CR (Component Registry). Server PA would act like an interface between Cloud UI and RDK-B stack for faster real time communication. Persistent websocket connection is established between Cloud PA and Server PA during the client boot up. This would eliminate initial connection handshake overhead but would have an impact on the scalability aspects on the server side.
Data communication and messaging format will be based on JSON format.
Below data needs to be furnished in the Curl Get & Set commands
URL: CommunityWebpaserverurl
MAC: 080027D7C5A7 (erouter0 MAC of BPI R4 )
TOKEN: d3B1c2VyOndlYnBhQDEyMzQ1Njc4OTAK
Curl -X GET 'URL/api/v2/device/mac:DEVICE MAC/config?names=GET_COMMAND_DM' -H 'authorization: Bearer TOKEN'
curl -X GET 'http://52.88.248.43:9003/api/v2/device/mac:4e07b781a3b8/config?names=Device.DeviceInfo.SoftwareVersion' -H 'Authorization:Basic d3B1c2VyOndlYnBhQDEyMzQ1Njc4OTAK' {"parameters":[{"name":"Device.DeviceInfo.SoftwareVersion","value":"rdkb-generic-broadband-image_rdk-next_20240710125200","dataType":0,"parameterCount":1,"message":"Success"}],"statusCode":200}%
curl -X PATCH URL/api/v2/device/mac:DEVICE MAC/config -d '{"parameters": [ {"dataType": 0, "name": "SET_COMMAND_DM", "value": "Testing"}]}' -H 'authorization: Bearer TOKEN'
curl -X PATCH http://webpa.rdkcentral.com:9003/api/v2/device/mac:4e07b781a3b8/config -d '{"parameters": [ {"dataType": 0, "name": "Device.WiFi.SSID.10001.SSID", "value": "Filogic_5G2"}]}' -H 'Authorization:Basic d3B1c2VyOndlYnBhQDEyMzQ1Njc4OTAK' {"parameters":[{"name":"Device.WiFi.SSID.10001.SSID","message":"Success"}],"statusCode":200}%
Below process should be running in BPI ,
References
RDKBACCL-288 - Getting issue details... STATUS