Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users
    1. Home
    2. martinm
    3. Topics
    • Profile
    • Following 0
    • Followers 1
    • Topics 4
    • Posts 9
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by martinm

    • martinm

      "cannot push beyond allocated stack" fatal error.
      Flic Hub SDK • • martinm

      2
      0
      Votes
      2
      Posts
      481
      Views

      oskar

      @martinm Hi!

      Excellent bug report, thank you!

      This has been fixed in the new firmware that is currently in beta. If you want to try it out, please PM me your hub serial number and I can assign the new firmware to your hub.

    • martinm

      HTTP.makeRequest cannot POST binary buffers
      Flic Hub SDK • binary buffer hub sdk http post • • martinm

      6
      0
      Votes
      6
      Posts
      865
      Views

      Emil

      @martinm When an incoming FIN packet is received from the remote endpoint, the socket is automatically properly closed unless the allowHalfOpen option is set. If that option is set, the socket is properly closed at the time when both an incoming FIN has been received and the local user has called the end method on the socket (in any order). Nothing is done at garbage collection time, so if you use the allowHalfOpen property, remember to close the socket by calling the end method. If the allowHalfOpen is not set, you can still use the end method to send your own FIN packet.

    • martinm

      Programming strategies vs Battery life
      Developers • • martinm

      3
      0
      Votes
      3
      Posts
      664
      Views

      martinm

      Ok, I assume that channel.auto_disconnect_time unit is seconds.

      But I think that I eventually found out what was draining the batteries, in the python scan wizard exemple in the is_private case, the scanner is never removed. I suspect this forces all the buttons to stay active if no-one press on the foreign button for 7 sec. Since I fixed that with a timeout, batteries are felling much better 🙂

    • martinm

      API: Color values
      Developers • • martinm

      3
      0
      Votes
      3
      Posts
      661
      Views

      Emil

      Yes, yellow is also valid. See the documentation at https://github.com/50ButtonsEach/fliclib-linux-hci/blob/master/ProtocolDocumentation.md#evtgetbuttoninforesponse.