3 Replies Latest reply on May 7, 2018 3:16 PM by hachc_2293006

    20736 Sleep Mode Entry

    hachc_2293006

      Hello,

      I am facing challenge in achieving Sleep Mode.

      In our code, LPM is initialized and low power query call-back is also register.

      Issue is lowpowerquery call back is continously called and chipset doensot seems to be entering SLEEP mode.

       

      It is expected to sleep for 1second, based on low power query call back return value.

       

      Attached source file for given scenario. and trace dump

      00:24:41 - create()

      00:24:41 - 1.00

      00:24:41 - 0018

      00:24:41 - 020300002a

      00:24:41 - 636f6f6b705f6c706d

      00:24:41 - 020500012a

      00:24:41 - 0003

      00:24:41 - 0118

      00:24:41 - 0d

      00:24:41 - 0d00

      00:24:41 - 02010503030118020a04

      00:24:41 - 0a09636f6f6b705f6c706d

      00:24:41 Trace Decoding Error - Could not find line number 314

      00:24:41 Attribute bytes

      00:24:41 Handle: 0002

      00:24:41 Perm : 0002

      00:24:41 Len, Max Len : 0005, 0005

      00:24:41 UUID : 2803

      00:24:41 Attribute bytes

      00:24:41 Handle: 0003

      00:24:41 Perm : 0000

      00:24:41 Len, Max Len : 0009, 0009

      00:24:41 UUID : 2A00

      00:24:41 Attribute bytes

      00:24:41 Handle: 0004

      00:24:41 Perm : 0002

      00:24:41 Len, Max Len : 0005, 0005

      00:24:41 UUID : 2803

      00:24:41 Attribute bytes

      00:24:41 Handle: 0005

      00:24:41 Perm : 0000

      00:24:41 Len, Max Len : 0002, 0002

      00:24:41 UUID : 2A01

      00:24:41 Attribute bytes

      00:24:41 Handle: 0006

      00:24:41 Perm : 0002

      00:24:41 Len, Max Len : 0002, 0002

      00:24:41 UUID : 2800

      00:24:41 Attribute bytes

      00:24:41 Gatt DB Dump complete

      00:24:41 bd_addr[5:2] = 20 73 6A 11

      00:24:41 bd_addr[1:0] = 00 00

      00:24:41 GPIO 0001 (11)

      00:24:41 GPIO_WP:OFF= 00

      00:24:41 Battery level: 0/100

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0

      00:24:42 - LPM 0