cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
114
Views
3
Helpful
1
Replies

[Room Navigator] Errors on xAPI calls

Benjamin R
Level 1
Level 1

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!

1 Reply 1

Janos Benyovszki
Cisco Employee
Cisco Employee

@Benjamin R there are a lot of separate error messages in that description. It might be best to open a ticket with the Developer Support team, sharing your macro code and full device logs - https://developer.webex.com/explore/support .