Aruba Apps

Reply
Aruba
Posts: 105
Registered: ‎04-09-2007

AP-Installer app now updated for iOS and Android

I've had this app up on the Android store for quite a while but kept it rather quiet.  Following some prompting from Ken, there's now an iOS version as well.

2015-12-01-Nexus6_aplistview.png2015-12-01-Nexus6_detailview.png2015-12-01-Nexus6_floorplanview.png

It's a tool for installers to record relevant details and send them off to the network administrator where they can be used to confirm where each AP (by MAC or SN) was installed.  To help with this, there's a barcode reader function for capturing MAC and SN and a photo function for showing relevant shots of the installation.  The exact install location is shown by cross-hairs on a floorplan image, which can be imported from a photo album or email attachment.  A little GPS work tags it with latitude-longitude and a street address which is quite accurate in my experience but can be over-written.  Records are emailed at the end of a session in the form of images and a csv file for spreadsheets.

 

For those working with Aruba networks equipment and AirWave, some new features allow near-painless updating... the floorplan can be downloaded from AirWave and the install location marked, then - optionally - when the record is saved, the app will update AirWave directly with the x,y coordinates of the AP.

 

So far the apps seem to be behaving, but I don't have a large pool of Beta testers.  I have noticed that the barcode scanner on iOS is not performing well, but not sure why.

 

If you are interested in a tool like this, please give it a try and pass on your ideas to improve it?

Peter

 

MVP
Posts: 113
Registered: ‎01-27-2016

Re: AP-Installer app now updated for iOS and Android

Peter, 

 

Awesome App!! I am shocked there are no comments. This will save a ton of time during AP-Provisioing. I plan to use the resulting .CSV, massage it and import it into the CPSEC whitelist on the controller. This will allow us to populate all the AP information in the controller including Name and  AP-Group before the AP's are physically deployed. 

 

Couple comments.

 

- I dont see an easy way to clear the .CSV files created. I am using the Android version. I need to go into the App Manager and Clear the data which will delete all of it. Not a huge problem but might lead to confusion is dealing with several files. 

- Saving AP placement to AirWave works but has a couple issues. If I save the AP then change any data about the AP in the App.. say correct a type or add more information, it will save an additional AP in Airwave in the same location. In addition, it does not bring over the name of the AP into AirWave, that data still needs entered manually. For these reasons I will not use this function. 

 

The auto detection of the bar code for proper field placement is terrific. 

 

Thanks for developing this outstanding App. This will save my customers 100's of hours. 

Aruba
Posts: 105
Registered: ‎04-09-2007

Re: AP-Installer app now updated for iOS and Android

Hello Airhead, it's always good to hear from someone who finds these apps useful.  

 

- Saving/deleting files.  You should not need to go into app manager, but it is a bit complicated.  I'm trying to avoid a situation where you accidentally drop the app into the background and lose hours of data.  So it starts a new file with a timestamp in the name when the app starts, or you use "clear data" in "settings". It then saves work in progress in the current file (I think every time you save a new AP).  My idea is that at the end of the install session you email the file (and you may want to do it earlier in case you run into email-attachment-size limits).  Once it's in your email system, it shouldn't matter if the device is off-line, the data will still be attached to the email.  I am in two minds as to whether to automatically delete data after it's been emailed, but I don't do that for now.  At the end of the installation session, go to "settings" and "clear data" and it will save the file to flash on the phone and start a new one next time you add a new AP.   If you email at multiple times through a session, you will get duplicate/overlapping information on the emails but I figured that was better than losing data.

 

Old files are cleaned up by deleting when they are 30 days old at the time the app starts.  But you can delete them manually if you wish... use the "manage files" button.  You may need to do this if you are taking lots of photos and hitting memory limits (which should be pretty large on most modern devices).

 

- Saving to AirWave... I can see why the situation you describe is a problem.  My issue is that there are two different types of http POST, depending on whether this is a new or existing AP in AirWave.  If the latter, it should just update the location... if the former, add some more info.  And I think it only downloads the list of existing APs when you pull the floorplan.  So getting the floorplan again _should_ get a new list of existing APs:  if you do that after adding a new one and before modifying it, I _think_ it should be clean.  But there are better ways to do it, like getting a fresh AP list every time an AP is saved.  I'll look into it.  

 

I don't think there is a way to add the name of a new AP into AirWave:  I'm using an existing API here and that's what it provides.  I'll ask around in AirWave-land next week and see if we can do anything with the AP name.

 

Best wishes,

Peter

Occasional Contributor II
Posts: 15
Registered: ‎06-09-2016

Re: AP-Installer app now updated for iOS and Android

Hi Peter,

 

I've done some testing on android and here is some feedback:

-The app closes all the time, when I for example load a floorplan and tick on the floorplan the app closes.

-The scanning of a mac/sn works very well.

 

Any possible reason for the app closing?

Dennis Lansink • Security Engineer
Securelink Nederland
Aruba
Posts: 105
Registered: ‎04-09-2007

Re: AP-Installer app now updated for iOS and Android

Hello Dennis,

It sounds like it's hitting a bug and crashing.  Is it offering you the option of sending a crash report (sometimes pw-rbutton + vol-up triggers it)?  I've looked on my Google dashboard and that shows isolated crashes on August 13, September 9 and September 21, would one of those be yours?

 

If none of these work, I will have to figure out what's going wrong some other way.  Do you get the same problem when working with AirWave floorplans and photo images (* pick image from album *)?

 

 

I do have a few changes and bugfixes coded, so I'll update the App Store with a new version soon, but I'm not confident any of those will fix a problem with ticking the location on the floorplan image.

 

Best wishes,

Peter

 

Aruba
Posts: 105
Registered: ‎04-09-2007

Re: AP-Installer app now updated for iOS and Android

Hello again Dennis,

I looked over the code where you touch the floorplan to locate the AP.  It all looks reasonable to me, but that doesn't mean there isn't a bug lurking.

 

So I rolled up all the changes since v7, and published v9 a few minutes ago.  Please give it a try, and if it still crashes then I will look at the code again.

 

Thanks,

Peter

Occasional Contributor II
Posts: 15
Registered: ‎06-09-2016

Re: AP-Installer app now updated for iOS and Android

Hi Peter,

 

Thanks for your quick update!The app is not offering to send a crash report when it crashes nor with the power+volume up key combination. The new version makes no difference.

I haven't tried loading the map form Airwave, only an image from an album.

 

Here's what I do to reproduce the problem:

1. start app
2. add new ap
3. floorplan
4. pick image from album
5. I select an image(jpg)
6. image loads (screenshot1)
7. I touch the image (screenshot2)
8. I touch the image again and the app closes without an error.

 

My device is a OnePlus 3 running android 6.0.1

 

Let me know if you need more information.

 

Thanks,

Dennis

Dennis Lansink • Security Engineer
Securelink Nederland
Aruba
Posts: 105
Registered: ‎04-09-2007

Re: AP-Installer app now updated for iOS and Android

Hello again Dennis,

Thanks for your patience and help.  No doubt others are seeing the same problem but not reporting it, so it's important to fix.

 

I think we're hitting a bug in the code when you touch the floorplan.  So I went through that section and put in some lines to catch any crashes.  If you could go here 

https://play.google.com/apps/testing/com.arubanetworks.apinstallersapp

then it should download v10 for you, which is a Beta release.

 

With this new version, if it hits a bug and catches the error, it will print something in red at the bottom of the image.  So if you see more than one line there, please send me a screen capture and I'll see if I can figure it out.

 

Thanks Dennis, this is really helpful.  I wish Android gave us some better remote debugging tools.

Peter

Occasional Contributor II
Posts: 15
Registered: ‎06-09-2016

Re: AP-Installer app now updated for iOS and Android

Hi Peter,

 

There you go. Just in case you wonder: I did it in landscape so the error is completely readable.

 

Dennis

Dennis Lansink • Security Engineer
Securelink Nederland
Aruba
Posts: 105
Registered: ‎04-09-2007

Re: AP-Installer app now updated for iOS and Android

That is exactly what I was looking for!  Your local format for a decimal is "99,0" and the code is looking for "99.0".  Now I should be able to figure out how to fix it, but it might take a few days.  Thanks so much, Dennis,

Peter

Search Airheads
Showing results for 
Search instead for 
Did you mean: