Updated to version 1.4.0 firmware, Project using HIDEmuKbd
Do not modify any of the firmware.
Theoretically, It should be 60sec into the PM3 mode.
The device should into PM3 automatically and stay in PM3 mode,
If idle timer timeout occur.
/ / HID idle timeout in msec; set to zero to disable timeout
# define DEFAULT_HID_IDLE_TIMEOUT 60000
After the test, when the device and PC (Win8 OS) connection, Have been unable to enter the PM3 (most power-saving mode), The current will have been beating from uA to mA
At this time, If the dongle unplug the PC, Such as after a period of time will go directly measure current, Which is about 1uA (as long as no action IO, will always keep this current consumption)
/ / Advertising timeouts in sec
# define HID_INITIAL_ADV_TIMEOUT 60
Directly change the original version 1.3.2 FW, when the device and PC (WIN8) pair, if Device no action, it will 60 seconds after entering the PM3 mode, measure current is about 1uA.
§ Check Option -> C / C + + Compiler -> Preprocessor
Defined symbols: POWER_SAVING is open
§ # define DEFAULT_ENABLE_UPDATE_REQUEST TRUE/FALSE is same situation