nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

Functions

void keyboard_get_non_empty_packet (uint8_t *out_keyboard_packet)
 keyboard_get_non_empty_packet returns a keyboard packet where the 'a' key is pressed. More...
 
void keyboard_get_empty_packet (uint8_t *out_keyboard_packet)
 keyboard_get_empty_packet returns a keyboard packet where the no keys are pressed. More...
 

Detailed Description

Function Documentation

void keyboard_get_non_empty_packet ( uint8_t *  out_keyboard_packet)

The total length of the keyboard packet is given by NRFR_KEYBOARD_PACKET_LENGTH.

Parameters
out_keyboard_packetis the pointer in which to return the packet
void keyboard_get_empty_packet ( uint8_t *  out_keyboard_packet)

The total length of the keyboard packet is given by NRFR_KEYBOARD_PACKET_LENGTH.

Parameters
out_keyboard_packetis the pointer in which to return the packet