Skip to content

Instantly share code, notes, and snippets.

@benbahrenburg
Created February 18, 2012 18:07
Show Gist options
  • Save benbahrenburg/1860455 to your computer and use it in GitHub Desktop.
Save benbahrenburg/1860455 to your computer and use it in GitHub Desktop.
Network Helpers Debug
var test2 = require('test').netTest();
exports.netTest=function(){
var networkHelpers = require('bencoding.network');
Ti.API.info("module is => " + networkHelpers);
Ti.API.info("Create a new Current Network Info Object");
var currentNetwork = networkHelpers.createCurrentNetwork();
Ti.API.info("Get SSID => " + currentNetwork.SSID);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment