Update! Try this command instead

system_profiler SPNetworkDataType -detailLevel basic

Runs faster since it doesn't have to generate an entire system's report.


On 9 November 2012 17:02, Tim Kim <timki...@gmail.com> wrote:

> Hrmmm, I think you can figure out which devices are currently connected
> using
> system_profiler -detailLevel basic
>
> The bb10 entry is under PlayBook (en5) and the playbook entry is under
> PlayBook (en3) (not sure if the en# changes or not).  Also, those entries
> should all fall under the "Network" stuff.
>
> In any case, if you look for those, there'll be a field that should give
> you the ip address of the device.
>
> Looks like you can make a quick script to grep for that stuff!
>
>
> On 9 November 2012 16:22, Filip Maj <f...@adobe.com> wrote:
>
>> For getting a list of devices, it's a network issue due to OTA deployment.
>> Would be nice if there was a "discover" command in the BB suite of tools
>> that would scan the local network and find any Bbs. Just sayin :)
>>
>> As for determining which one is a playbook or bb10, you can do that
>> through ./blackberry-deploy -getDeviceInfo -device <ip> -password
>> <password>
>>
>> PS the various cli tools that come with the BB SDK are awesome. The _one_
>> thing missing is an equivalent to Android's "adb devices" which lists all
>> accessible / connected / reachable Android devices.
>>
>> On 11/9/12 3:56 PM, "Filip Maj" <f...@adobe.com> wrote:
>>
>> >Yeah that worked awesome. Silly me for trying BB 7 ;)
>> >
>> >Nukul (or anyone for that matter), one more quick question: any way to
>> >accomplish the following:
>> >
>> >- get a list of connected BlacKBerry devices (only playbook / bb10 is
>> >fine)
>> >- determine which one is a playbook and which one is a bb10 ?
>> >
>> >On 11/9/12 3:26 PM, "Nukul Bhasin" <m...@nukulb.com> wrote:
>> >
>> >>Not possible for BlackBerry os 6 or 7
>> >>You can do it for pb and bb10 using BlackBerry-deploy
>> >>
>> >>From: Tim Kim
>> >>To: dev@cordova.apache.org
>> >>Reply To: dev@cordova.apache.org
>> >>*Re: [BlackBerry] launch app from command line?*
>> >>2012-11-09 6:18:09 PM
>> >>
>> >>I talked to Fil over IM about this and here were some points I came up
>> >>with:
>> >>- pretty sure just doing ./cordova/debug on bb10/playbook will auto
>> >>launch
>> >>app
>> >>- not sure what to do for bb 6/7 - ./cordova/debug will install onto
>> >>device
>> >>but not launch it
>> >>- also updating an app of bb 6/7 reboots the device which could be
>> >>problematic for testing new changes without a human involved
>> >>
>> >>
>> >>On 9 November 2012 15:04, Filip Maj wrote:
>> >>
>> >>> I can successfully package and deploy an app to a device.
>> >>>
>> >>> I am now looking to launch it from my command line. I am working on
>> the
>> >>> cordova CI setup.
>> >>>
>> >>> I dug around for some articles but couldn't find anything. Tim / Gord
>> /
>> >>> Ken / any other RIM lurkers around that could potentially set up?
>> >>>
>> >>> I am interested in all flavors of BlackBerry: OS 6-7, PlayBook, or
>> >>>BB10.
>> >>> Command-line launching for any/all of these would be rad.
>> >>>
>> >>> Thx in advance for any help / pointers.
>> >>>
>> >>> Fil
>> >>>
>> >>>
>> >>
>> >>
>> >>--
>> >>Timothy Kim
>> >
>>
>>
>
>
> --
> Timothy Kim
>
>
>


-- 
Timothy Kim

Reply via email to