![Easily Connect To Zephyr HxM Smart Heart Rate Monitor Using RAD Studio | Embarcadero RAD Studio Delphi C++Builder Blogs easily connect to zephyr hxm smart heart rate monitor using rad studio](https://i0.wp.com/blogs.embarcadero.com/wp-content/uploads/2021/03/Easily-Connect-To-Zephyr-HxM-Smart-Heart-Rate-Monitor-Using-RAD-Studio-3984398.png?resize=1140%2C675&ssl=1)
We have been exploring some of the best IoT solutions with Delphi and C++ Builder in the last posts. For instance, the Heart Rate Monitor IoT component pack which provides heart rate measurements for IoT devices that utilize the standard GATT-based heart rate service.
If you have been on the GetIt portal you have seen there are dozens of IoT components available for RAD Studio. And one of them is the Zephyr HxM Smart by Zephyr.
![zephyrbanner5132615602 | Embarcadero RAD Studio Delphi C++Builder Blogs zephyr banner 5 1 3 2615602](https://i0.wp.com/blogs.embarcadero.com/wp-content/uploads/2021/03/zephyr-banner-5-1-3-2615602.jpg?resize=750%2C375&ssl=1)
By this, you can connect to these IoT devices quickly by writing less code. All the modules are provided to you when you install the library and there is a complete demo application to show you how to utilize the component itself.
- Iot.Device.ZephyrHeartRateMonitor,
- Iot.Device.ZephyrHeartRateMonitorHelper,
- Iot.Device.ZephyrHeartRateMonitorTypes
These are the main units for the Zephyr HxM Smart by Zephyr which help you to communicate with the hardware.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
function TZephyrHeartRateMonitor.GetSoftwareRevision: string; begin if Device <> nil then Result := Device.SoftwareRevision else Result := Default(string); end; function TZephyrHeartRateMonitor.GetManufacturerName: string; begin if Device <> nil then Result := Device.ManufacturerName else Result := Default(string); end; function TZephyrHeartRateMonitor.GetIEEERegulatory: TGattHealthInformatics20601; begin if Device <> nil then Result := Device.IEEERegulatory else Result := Default(TGattHealthInformatics20601); end; function TZephyrHeartRateMonitor.GetPnPID: TGattPnPID; begin if Device <> nil then Result := Device.PnPID else Result := Default(TGattPnPID); end; function TZephyrHeartRateMonitor.GetBatteryLevel: Byte; begin if Device <> nil then Result := Device.BatteryLevel else Result := Default(Byte); end; |
Be sure to head over and check out the Zephyr Heart Rate Monitor IoT component pack on the GetIt portal and download it from the IDE using the GetIt Package Manager.
![embarcaderodelphiiotdevelopmentzephyrheartratemonitor6072832 | Embarcadero RAD Studio Delphi C++Builder Blogs embarcadero delphi iot development zephyr heart rate monitor 6072832](https://i0.wp.com/blogs.embarcadero.com/wp-content/uploads/2021/03/embarcadero-delphi-iot-development-zephyr-heart-rate-monitor-6072832.jpg?resize=750%2C500&ssl=1)
You can easily Connect To Zephyr HxM Smart Heart Rate Monitor From Windows Using Delphi’s IDE Software. Begin developing in C++ or Delphi environments right away.
Design. Code. Compile. Deploy.
Start Free Trial Upgrade Today
Free Delphi Community Edition Free C++Builder Community Edition