1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

iOS Question Serial library

Discussion in 'iOS Questions' started by mrossen, Nov 12, 2014.

  1. mrossen

    mrossen Active Member Licensed User

    Hi Erel,

    First I am very impressed about your job with B4i

    I am sure it will be as great as B4a

    Will it be possible to get a Serial library like in B4a?

    I know you have BLE but the module I use is Bluetooth 2.1 with Apple auth. chip on it.

    And it uses an external framework in Xcode

    Mogens
     
  2. andreahaku

    andreahaku Member Licensed User

    Hi Erel,
    I need the serial library as well.
    All my apps communicate (wirelessly in iOS) with external hardware devices through serial and I can't totally port them from b4a to b4i.
    Thanks a lot for the great work.
    B4i is a gift for me and my development!
    Andrea
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    Which framework does it use?

    There is no support for the SPP profile in iOS.
     
  4. andreahaku

    andreahaku Member Licensed User

    On B4A I use astream over USB(FTDI) and also over WiFi/Bluetooth.
    If it could be possible to port astream to B4i I should be then able to stream it wirelessly.
    I'm also building an hardware BLE/serial gateway prototype. Is this the only way to have a serial stream with B4i?
    Thanks,
    Andrea
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    AsyncStreams is available in B4i.

    iOS doesn't expose APIs for Bluetooth serial mode (SPP).
     
  6. andreahaku

    andreahaku Member Licensed User

    I know but I use iOS apps that do that via WiFi.
    Anyway... I'll probably use BLE as it's the most convenient way even if it limits the number of potential devices to those with BT4.0.
    Thanks,
    Andrea
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    The iNetwork library allows you to do it over a wifi connection.
     
  8. andreahaku

    andreahaku Member Licensed User

    Thanks I just found it out.
    I also found it out that I cannot send data via BLE with the iBLE library yet :(
    Any plan to implement writing other than reading?
     
  9. Erel

    Erel Administrator Staff Member Licensed User

    See my private message.
     
  10. Filippo

    Filippo Expert Licensed User

    That would interest me very.;)
     
  11. mrossen

    mrossen Active Member Licensed User

  12. Erel

    Erel Administrator Staff Member Licensed User

    It should be possible to wrap this framework in the future.

    Which hardware device are you using?
     
  13. mrossen

    mrossen Active Member Licensed User

  14. Filippo

    Filippo Expert Licensed User

    I've bought from the same manufacturer 10 items.
    Microchip
    RN42-I/RM
    20141113_182740.jpg
     
  15. walterf25

    walterf25 Well-Known Member Licensed User

    Hey all i'm also very interested in knowing whether bluetooth communication can be achieved with B4i, from my understanding it can be done, but there's a requires a specific class for discovery and authentiation, you need a co-processor chip to achieve this, which is why i stopped trying to do this a while ago, but now with B4i, maybe all of us can or at least those who are interersted can do some more research and find out whether is after possible or not. Please check out this link is from the same company that Filipo bought his modules from, i've been using this modules for years as well. http://ww1.microchip.com/downloads/en/DeviceDoc/70005113a.pdf

    Maybe Erel can also look into this with more detail, and see if how feasible this would be, this is the only thing that is keeping me from buying B4i, since most of my development work has to do with Equipment Automation.

    Thanks,
    Walter
     
  16. mrossen

    mrossen Active Member Licensed User

    Hi,

    Pics of the module I use,

    bl1.jpg

    bl2.jpg
     
  17. Filippo

    Filippo Expert Licensed User

  18. mrossen

    mrossen Active Member Licensed User

    I Belive we have bought it at Microchip.

    But I mean you has to be a member of Apples MFI program to buy the board with the aut. chip on.

    Mogens
     
  19. walterf25

    walterf25 Well-Known Member Licensed User

    Do you know what the requirements are in order for someone to be a member of the MFI program, and is there a cost, if so how much would I need to pay to be a member of that MFI program, can you give more details please?

    Walter
     
  20. mrossen

    mrossen Active Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice