Native iOS App

Contribute source code here. Anything not accompanied by source code will be removed.

Native iOS App

Postby B69CA » Fri Jul 24, 2015 5:08 pm

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
B69CA
newt
newt
 
Posts: 6
Joined: Tue Apr 07, 2015 2:01 pm

Re: Native iOS App

Postby kevin » Fri Jul 24, 2015 6:11 pm

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.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: Native iOS App

Postby monnerie » Fri Dec 02, 2016 2:50 pm

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!
monnerie
newt
newt
 
Posts: 4
Joined: Wed Nov 30, 2016 8:39 pm


Return to Code Contributions

Who is online

Users browsing this forum: No registered users and 1 guest

cron