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.
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.
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