Hello,
I’m working on a digital signage application, my mission to add compatibility between Cisco devices and our app.
Using xAPI, I’m unfortunately running into some issues with some requests (Command, Status, etc.).
Here’s the list of requests I’m making:
- await xapi.Command.SystemUnit.Boot({ Action: "Restart" })
- code: -32601
- message: "Method not found."
- doc: xCommand SystemUnit Boot
- await xapi.Status.SystemUnit.Hardware.DRAM.get()
- code: -32602
- message: "Invalid or missing Path argument"
- doc: xStatus SystemUnit Hardware DRAM
- await xapi.Status.Network[1].IPv4.Address.get()
- code: -32602
- message: "Invalid or missing Path argument"
- doc: xConfiguration Network[1] IPv4 Addres
- await xapi.Status.SystemUnit.Hardware.Module.DeviceId.get()
- code: -32602
- message: "Invalid or missing Path argument"
- doc: xStatus SystemUnit Hardware Module DeviceId
However, some xAPI calls do work:
- await xapi.Status.SystemUnit.Hardware.Module.SerialNumber.get()
- Returns the serial number correctly
- await xapi.Config.UserInterface.LedControl.Mode.set('Manual');
await xapi.Command.UserInterface.LedControl.Color.Set({ Color: color });- Correctly sets the LEDs to the desired color
After setting the player to Persistent Web App, I went to the player’s admin page and:
- Set the App URL
- NetworkServices > Websocket = FollowHTTPService
- NetworkServices > HTTP > Mode = HTTP+HTTPS
- WebEngine > Features > XAPI > Peripherals > AllowedHosts > Hosts = my hosts
- Security > Xapi WebSocket ApiKey Allowed → true
Player: Cisco Room Navigator – Model TTC5-15
Thanks!