Page 1 of 1

Native iOS App

PostPosted: Fri Jul 24, 2015 5:08 pm
by B69CA
Hey All,

Over the past couple of weeks I have been playing with the new Apple Swift language in order to create iOS applications. One of the things I especially wanted to do was to create a native alarm panel that I could use with the AD2PI module that I purchased sometime last year.

I created an application that can establish a socket connection with the AD2PI module (when its making use of SER2SOCK) after which it is able to perform basic functionality, like arm, disarm etc... This is my version 1 :o]

I got my application approved within the Apple App Store and its available here - https://itunes.apple.com/us/app/mobile- ... 1007779746

In the spirit of sharing, I have also made available my source code should you wish to download it, play with it and modify it to suit your need - my source code is available here - https://bitbucket.org/b69ca/ad2pimobilealarmkeypad

If you are not interested in the entire project but just want my Swift class to enable you to talk to the AD2PI within your own projects, I separated this out into its own project, you can find this here - https://bitbucket.org/b69ca/swiftad2pi

I would like to evolve this app and I do have some ideas that I plan on including but if you have anything burning, let me know and i'll try my best to get it in.

I hope this is of help to someone.

Cheers,
Jon

Re: Native iOS App

PostPosted: Fri Jul 24, 2015 6:11 pm
by kevin
Cool project, thanks!

going to go ahead and move this to the "Code Contributions" section as a sticky.

One thing I might suggest - since you are (maybe) exposing ser2sock outside your network, is to look at enabling SSL (supported by ser2sock) and being able to utilize that - perhaps if I have time outside my normal duties I can take a look at implementing it. Our python library has good examples - it's really just the certs that might pose a problem.

Re: Native iOS App

PostPosted: Fri Dec 02, 2016 2:50 pm
by monnerie
I agree with the previous response. This App is very nice and well done but I'm concerned by the lack of support for secured and authenticated connection. I do not want to expose port 10000 to the outside world without precautions. Is there a new version in the works?

Thanks for the good work!