Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users
    1. Home
    2. sandro.salari
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 7
    • Best 0
    • Controversial 0
    • Groups 0

    sandro.salari

    @sandro.salari

    0
    Reputation
    17
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    sandro.salari Unfollow Follow

    Latest posts made by sandro.salari

    • RE: Public Mode + OPCODE_TO_FLIC_FORCE_BT_DISCONNECT_IND not stop advertise after disconnection

      @Emil OK, thanks for the responses. See you!

      posted in Developers
      sandro.salari
      sandro.salari
    • RE: Public Mode + OPCODE_TO_FLIC_FORCE_BT_DISCONNECT_IND not stop advertise after disconnection

      @Emil Sorry, I know how to detect the ADDRESS in the laboratory, but when the Flic is used by the user, my scanning device doesn't know the ADDRESS off all possible advertising devices, I need a service ID to filter the devices around.

      posted in Developers
      sandro.salari
      sandro.salari
    • RE: Public Mode + OPCODE_TO_FLIC_FORCE_BT_DISCONNECT_IND not stop advertise after disconnection

      @Emil You are right but I don't know the ADDRESS of the button. I don't need security, I need only to discover the Flic in proximity, connect and read Its information (MAC address), then disconnect.

      Whit this data I can identify the Flic and my use case ends.

      posted in Developers
      sandro.salari
      sandro.salari
    • RE: Public Mode + OPCODE_TO_FLIC_FORCE_BT_DISCONNECT_IND not stop advertise after disconnection

      @Emil I don't want to pair. I need only detect when the button is pressed without pairing and the only possibility is to use public mode service advertise to do it since no service advertises happens in private mode and I can't detect if the device is Flic or another one before connecting.

      posted in Developers
      sandro.salari
      sandro.salari
    • RE: Public Mode + OPCODE_TO_FLIC_FORCE_BT_DISCONNECT_IND not stop advertise after disconnection

      Hi @Emil ,
      thanks, it's just as I thought, but this condition is not explicated in the documentation, so I asked ...

      I try this procedure because 30 seconds of advertising after the connection is too high for my application, I need a max of 5 seconds of total advertising, or better I need no advertising at all after disconnection.

      Can you give me some tips to get this result (if possible to get it)?

      Thanks.

      Best
      Sandro.

      posted in Developers
      sandro.salari
      sandro.salari
    • Public Mode + OPCODE_TO_FLIC_FORCE_BT_DISCONNECT_IND not stop advertise after disconnection

      Hi,
      I'm Sandro and I'm new to this forum.

      I have this issue:

      • Flic2 after factory reset -> OK

      • Pressing down on the Flic and holding it for at least 1.5 seconds (red led) -> OK

      • Flic2 advertise service -> OK

      • Connect to Flic2 -> OK

      • Send FORCE_BT_DISCONNECT_IND packet with restart_adv = 0 -> OK

      • Flic2 disconnect immediattly-> OK

      • Flic2 stop advertise -> KO

      So after disconnection, the Flic2 restart advertise although restart_adv = 0

      Thanks for the support of anyone.

      Best,
      Sandro.

      posted in Developers
      sandro.salari
      sandro.salari