Skip to content

pablovirolainen/ble_app_hids_custom

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Environment:
	Built at nRF5_SDK_15.3.0_59ac345\examples\ble_peripheral
	Assumes BMD-350-EVAL board (compatible with PCA10040)

Options:

#define ENABLE_SENSOR

	Enables I2C (TWI) and communicates with si7021 Sensor. 
	Sensor humidity reading uses delayed read, client has to wait for 25 ms before 
	data is ready.

#define ENABLE_GPIO_INT

	Listens interrupts on pin 11 that toggle pin 12 and trigger temp and humidity reading from Sensor

#define CUSTOM_HID

	*** Chip must be erased and re-paired when enabling/disabling this define. ***

	When enabled exposes device as custom HID device that reports humidity and button presses as report id 1.
	Listens output reports that triggers humidity reading and report.
	
	

About

Custom HID/Sensor example for nRF52

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.3%
  • Makefile 4.0%
  • C++ 0.7%