在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ps2/rileylink_ios开源软件地址:https://github.com/ps2/rileylink_ios开源编程语言:Swift 99.0%开源软件介绍:RileyLink iOS AppThe main purpose of the RileyLink iOS App is for developers to test and build the device commands. The RileyLink iOS app connects to a RileyLink via Bluetooth Low Energy (BLE, or Bluetooth Smart) Features
How to contibuteTest edge casesTry to test as many use cases as possible by using the test command to send the command to the Pod. The test command line can be inserted here. It will send the command by using the test command button in the app: https://github.com/ps2/rileylink_ios/blob/omnikit/OmniKit/PodCommsSession.swift#L133 Create issues for failing test casesIf there is an error, create an Issue here https://github.com/ps2/rileylink_ios/issues with:
If you own a RTL-SDR USB Device, also try to capture the radio messages as well and adding this to the Issue by using this capture program: https://github.com/Lytrix/openomni/tree/rtlomni which might help as well in trying to see what radio commands were send. Add unit testsYou can also add your test as a unit test if there is no similiar test written yet here: https://github.com/ps2/rileylink_ios/tree/omnikit/OmniKitTests PR new communication commands or refactored codeAlways run all Omnikit tests before making a PR request and also solve any errors which the travis build can find. Create a new PR to the omnikit branch if you have created a new part in the communication commands. WARNING the PODs used will fail rapidly, so testing will require a lot of PODs. If you need test pods, please contact @jwedding on https://omniaps.slack.com/ or https://gitter.im/ps2/rileylink Getting StartedFlash the Rileylink DeviceFlash your Rileylink device to version 2.0 or greater if you are using an earlier version using the dev branch of https://github.com/ps2/rileylink/tree/dev subg_rfspy and ble113_rfspy (there are two chips) need to be flashed. Clone this repo to your machine
Install the Rileylink iOS app to your phoneInstall XcodeYou'll need Xcode, which is available for free, but will only build apps that last a week. To make your apps run longer, you'll have to sign up for a developer account. Read this tutorial how to sign up: https://loopkit.github.io/loopdocs/setup/build/installing/
You should not need to change bundle id, but you do have to sign the app by your team id on 3 places highlighted in red.
How to UseTo use the Rileylink, it has to connect to a Rileylink device first. If you don't see your RileyLink, close any app that uses the Rileylink or reboot your phone. Setup an OmnipodClick on Setup POD. Follow the same steps as with the PDM, but only push once to insert canula, else the Pod wil fail. If all went well you should see something like this: Test commandsTo start testing commands you can edit the test command setting in xCode here and issue the command after rebuilding the app on your phone and push the test command button: Setup a Medtronic pump
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论