Commit graph

619 commits

Author SHA1 Message Date
Rohit Grover
d6f898c2fc bring in app_button.c from nordic-sdk 2014-09-02 13:44:09 +01:00
Rohit Grover
c0519cf895 minor cleanup of call to APP_TIMER_INIT(). removing a duplicate. 2014-09-02 13:44:09 +01:00
Rohit Grover
dba36be51b refresh pstorage.cpp from nordic sdk; this also re-enables the pstorage module. 2014-09-02 13:44:09 +01:00
Rohit Grover
56a9b23778 We need only one app_timer timer with a queue depth of 1.
This is used in the implementation of ticker.
2014-09-02 13:44:09 +01:00
Rohit Grover
1b8ca8fa03 remove include of 'mbed.h' from app_timer.cpp 2014-09-02 13:44:09 +01:00
Rohit Grover
53649fb81d start RTC1 automatically from app_timer_init(). 2014-09-02 13:44:09 +01:00
Rohit Grover
5f7f6f5423 rehome call to sd_ble_enable() to btle.cpp.
softdevice_handler.cpp is shared with non-application projects like the bootloader.
2014-09-02 13:44:09 +01:00
Rohit Grover
c06fa23971 return a 64-bit value from app_timer_cnt_get() 2014-09-02 13:44:09 +01:00
Rohit Grover
32e57e1a8d white space diff 2014-09-02 13:44:09 +01:00
Rohit Grover
2478b742d7 move some constants out to the common header. 2014-09-02 13:44:09 +01:00
Rohit Grover
1a3d7ba9b9 improve the default configuration parameters for faster connection interval and lower tx power 2014-09-02 13:44:09 +01:00
Rohit Grover
1644a74d73 Bringing app_timer in line with the code in the latest SDK release.
Also replace a few uses of wait() with nrf_delay(). This has an impact
on power consumption.
2014-09-02 13:44:09 +01:00
Rohit Grover
76f958494c replace wait() with nrf_delay_us() 2014-09-02 13:44:09 +01:00
Rohit Grover
6086db38fd white space diffs. 2014-09-02 13:44:09 +01:00
Rohit Grover
cb99ef6070 reduce event queue depth for timers in app_timer_init() 2014-09-02 13:44:09 +01:00
Rohit Grover
d3a81cb072 minor rename of a type 2014-09-02 13:44:09 +01:00
Rohit Grover
83f44c29d5 54:e2294c844c83 Move value attribute as member of the char class 2014-09-02 13:35:55 +01:00
Rohit Grover
d22868169f 54:e2294c844c83 Add support for adding descriptors 2014-09-02 13:34:54 +01:00
Rohit Grover
d1a8667c1d forking from 53:1e5c300cec7f 2014-07-30 11:36:32 +01:00