After modifying the ancs example to remove the data and control points, the event_connect() subfunction in ble_ancs_c.c gets called immediatly upon a connection to a master...
Using nRF51822, I define keys and pins as follows:
Keyboard key
Mouse left/right key
Mouse move (up/down/left/right)
Media play/pause key
Pin 0 Mouse...
The bluetooth device keeps getting disconnected from the app, even when its not 'idle'.
I am using the android app mentioned here .
I need help getting started to solve...
Moving from SDK version 5.1 to 6.0, the buttons on my PCA20006 beacons no longer works as expected. When I press a button, it seems to register the release of a button incorrectly...
I posted another question along these lines, about using the Timeslot API to get observer behaviour with the S110 v7.0 SD, but I am having trouble getting it to work.
Are...
I'm interested in creating a time of flight algorithm and am trying to calculate what to expect for accuracy.
Is it possible to get an IRQ from when the sync arrives at...
Hello everyone,
We're currently in the process of porting our code from the NRF51 to the NRF52 (both without any softdevices). Everything compiles and seems to be working...
Hi all,
I am making a device which involves using nfr52832(PCA10040) to communicate with a NAND flash through spi to store data acquired from the ADC. After all the data...
After performing the first ADC operation (4 channel scan, sample rate controlled from TIMER1), the power consumption stays at almost 4 mA for the nRF52832.
Why?
Initialization...
Hello, as oppose to S110, the function sd_ble_enable for S140 now includes one more parameter p_app_ram_base, which points to a value that stores the app base ram address...
In this tutorial
github.com/.../custom_ble_service_example
There are two additional files added to the template project
ble_cus.c
ble_cus.h
I understand that...
My peripheral uses a generic sensor service which I use for various sensors. Most of the sensors only have one integer as value and can be abstracted the same, hence I made...
Does the Thingy:52 use the default transmit power of 0dBm? I didn't see anywhere that it could be changed from the app or that sd_ble_gap_tx_power_set was called anywhere...
Using Keil MDK Lite v 5.22, writing code in C for nRF52, with SDK 12.
Example code works.
How does one declare a function, define it, and call it?
I've created a...
In my debugger, I see that variable error_code is 0x00000004
void app_error_handler_bare(ret_code_t error_code)
{
error_info_t error_info =
{
.line_num = 0,
.p_file_name...
I'm running a debug session.
I set a break point inside of function services_init on line 201.
I ran the run up to break point command
The processor pauses on...
Hi,
i am trying to save data with the flash data storage module. Using this code ( infocenter.nordicsemi.com/index.jsp from infocenter erverything works fine. But when...
I am attempting to do a BLE firmware update via command line tools in an attempt to automate programming in a script file. I have zero problems performing an over the air...