I have to connect my iOS (Swift 3) application to my raspberry pi zero w via BLE protocol and interacting with.
I need to know how my application can connect to my raspberry pi? I can't understand how UUIDs work.
Thanks for replay,
I'm not only talking about bluetooth, it's about using BLE in my Swift application for iOS to interact with my Raspberry Pi. In other words I'm developping an iOS application by Xcode for my Raspberry Pi Zero W, and I have to find a way to make a connection between my application and RPi.
So I'm cooking with a blend of Swift and Raspberry by adding a Bluetooth flavor.
I'm trying to do the same thing and at a loss now. I understand the UUID and have tried several commands to set a custom UUID. Then in my iOS code, I'm looking for that UUID either in the advertisement packet or in the peripheral object itself.
sudo hcitool -i hci0 cmd 0x08 0x0008 1E 02 01 1A 1A FF 4C 00 02 15 2A F2 D8 46 46 A4 4F 5B 84 AA D1 D4 3C 8E 18 8E 00 00 00 00 C5 00
It's possible my iOS code is seeing it, but the name isn't coming across and neither is the UUID I set.
Any help or pointing me in the right direction would be appreciated.