Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4065

AGL: agl-service-iiodevices: error when unsubscribing from the event.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • Renesas H3

      Error when unsubscribing from the event and then hang-up:

      agl-refhw-h3:~# afb-client-demo --human ws://localhost:30014/api?token=HELLO
      iiodevices subscribe { "event": "gyroscope",  "args": "xyz", "frequency": "0.1" }
      ON-REPLY 1:iiodevices/subscribe: OK
      {
        "jtype":"afb-reply",
        "request":{
          "status":"success"
        }
      }
      ON-EVENT iiodevices/gyroscope0:
      {
        "event":"iiodevices/gyroscope0",
        "data":{
          "scale":"0.000153",
          "scale_available":"0.000153 0.000305 0.000611 0.001222",
          "anglvel_x":2220,
          "anglvel_y":-187,
          "anglvel_z":341
        },
        "jtype":"afb-event"
      }
      ON-EVENT iiodevices/gyroscope0:
      {
        "event":"iiodevices/gyroscope0",
        "data":{
          "scale":"0.000153",
          "scale_available":"0.000153 0.000305 0.000611 0.001222",
          "anglvel_x":652,
          "anglvel_y":253,
          "anglvel_z":639
        },
        "jtype":"afb-event"
      }
      iiodevices unsubscribe { "event": "gyroscope" }
      ON-REPLY 2:iiodevices/unsubscribe: ERROR
      {
        "jtype":"afb-reply",
        "request":{
          "status":"failed",
          "info":"unsubscription failed"
        }
      }
      [ 1398.977760] audit: type=1701 audit(1593401393.599:50): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=User::App::agl-service-iiodevices pid=1948 comm="afbd-agl-servic" exe="/usr/bin/afb-daemon" sig=6 res=1
      ON-HANGUP
      agl-refhw-h3:~# 
      

      FYI opsyvvavrychuk

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            andriy.tryshnivskyy Andriy Tryshnivskyy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: