OlavRossland Member Licensed User Longtime User Oct 21, 2024 #1 Hello. I want to send { 0x7e, 0x00, 0x0b, 0xff, 0x7e } from my iPhone-app to my USB-device via lightning/USB-C cable. How can this be done in a small code?
Hello. I want to send { 0x7e, 0x00, 0x0b, 0xff, 0x7e } from my iPhone-app to my USB-device via lightning/USB-C cable. How can this be done in a small code?
OlavRossland Member Licensed User Longtime User Oct 21, 2024 #2 …or is it even possible with b4i ?? @Erel ? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 22, 2024 #3 It is not possible with iOS. Upvote 0
OlavRossland Member Licensed User Longtime User Oct 22, 2024 #4 Erel said: It is not possible with iOS. Click to expand... BLE ?? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 23, 2024 #5 OlavRossland said: BLE ?? Click to expand... Yes: BLE (Bluetooth Low Energy) library Upvote 0
OlavRossland Member Licensed User Longtime User Oct 23, 2024 #6 1) So - I can send example{ 0x7e, 0x00, 0x0b, 0xff, 0x7e } from my iPhone-app to my USB-device via BLE? 2) Can b4i handle midi as well? Upvote 0
1) So - I can send example{ 0x7e, 0x00, 0x0b, 0xff, 0x7e } from my iPhone-app to my USB-device via BLE? 2) Can b4i handle midi as well?
Erel B4X founder Staff member Licensed User Longtime User Oct 24, 2024 #7 OlavRossland said: from my iPhone-app to my USB-device via BLE Click to expand... No. BLE works with BLE devices. OlavRossland said: Can b4i handle midi as well? Click to expand... Not sure what you mean. Upvote 0
OlavRossland said: from my iPhone-app to my USB-device via BLE Click to expand... No. BLE works with BLE devices. OlavRossland said: Can b4i handle midi as well? Click to expand... Not sure what you mean.
OlavRossland Member Licensed User Longtime User Oct 24, 2024 #8 Erel said: No. BLE works with BLE devices. Not sure what you mean. Click to expand... I mean: have b4i something like a midi library? In other words: Is b4i capable to make midi-apps? Upvote 0
Erel said: No. BLE works with BLE devices. Not sure what you mean. Click to expand... I mean: have b4i something like a midi library? In other words: Is b4i capable to make midi-apps?
Erel B4X founder Staff member Licensed User Longtime User Oct 27, 2024 #9 There is an API for this in iOS: https://developer.apple.com/documentation/coremidi?language=objc It will require writing a library or accessing this API with inline OBJC. Note that it requires joining Apple's MFi program. Not trivial. Upvote 0
There is an API for this in iOS: https://developer.apple.com/documentation/coremidi?language=objc It will require writing a library or accessing this API with inline OBJC. Note that it requires joining Apple's MFi program. Not trivial.
OlavRossland Member Licensed User Longtime User Oct 27, 2024 #10 Well, thanks for your answers @Erel. Unfortunately, it seems that it is significantly easier to create apps with b4a than b4i. But that is another discussion. Upvote 0
Well, thanks for your answers @Erel. Unfortunately, it seems that it is significantly easier to create apps with b4a than b4i. But that is another discussion.