Skip to content

raralabs/pm5-emulator

Repository files navigation

PM5 Emulator

alt text Go Report Card Build Status Coverage Status

Matrix Contributor Covenant License: GPL v3

PM5 Rower is an indoor rower from Concept2. For detailed information: [https://www.concept2.com/service/indoor-rowers]

This project aims to emulate a PM5 Rower via GATT server in BLE Device, so that any third-party applications can use the emulator to test, debug and stuffs.

PM5 Services and Their UUIDs

Service UUIDs
GAP 0x1800
GATT 0x1801
Device Info 0x0010
Control 0x0020
Rowing 0x0030

Instructions to Run

Before starting the app, turn BLE service down:

sudo hciconfig hci0 down

Run tests and Build emulator:

make all

Advertise your custom PM5 service (as emulator):

sudo ./pm5-emulator

Common Errors

rf-kill errror

 error while opening device 0: operation not possible due to RF-kill

This error is due to blocked bluetooth service. Try:

rfkill unblock bluetooth

PM5 State Diagram

SM

MAINTAINERS

Anish Bhusal

Nischal Nepal

CONTRIBUTING

All kind of contributions are welcome. See here for more details!

CONTACT-US

RARA LABS

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •