Forums » Support

Back To Topics

SBrick Android App

    • 17 posts
    December 28, 2014 3:12 PM CET

    My SBrick app updated last night. Was previously on 0.0.20 and is now 0.0.21. Apparently a scan fix has been done.

    • 189 posts
    December 28, 2014 12:53 PM CET

    [blockquote]Charles Di Caro-Debizet said:

    My Smartphone is too old.

    Is it possible to use an application on Windows 8.1 ?

    [/blockquote]

     

    We are working the app for WP 8.1. We will release it in January.

  • December 28, 2014 8:19 AM CET

    My Smartphone is too old.

    Is it possible to use an application on Windows 8.1 ?

    • 9 posts
    December 28, 2014 12:09 AM CET

    Hi, finally I managed to test my SBrick on other phones, since I can't get mine to work:

    It bonded perfectly with my friend XPERIA M running on 4.4.2 Android and the app worked fine. I thanked my friend and tried to clean her phone since she won't be needing neither the app nor the BLE bond with the SBrick - no problems there. But then I tried to re-bond the SBrick to her phone and it wasn't possible anymore! The phone displayed a message that went something like this: "The phone can't connect to SBrick because of the wrong PIN number or wrong password"

    I guess the same happened on my phone (XPERIA SP, Android 4.3) and my tablet (LG G-pad 8.3, Android 4.4.2) - at first I could connect the with the SBrick just fine, but when the app wasn't working at all I disconected the device in order to try a clean start - then the phone and the tablet couldn't be connected anymore - also the message like on my friends phone doen't appear.

    Is it possible, that when I disconected the SBrick form my phone (the only option is to tap "disaple connection with SBrick) that it was actually a lock for that connection and now it won't connect anymore?

    How do I reverse that and is it even possible without beeing an Adroid programmer???

    Thanks for you help,

    best regards, miha

    • 10 posts
    December 27, 2014 8:50 PM CET

    Nordic nRF Master Control Panel is a fantastic piece of software. Unfortunately SBrick-App still doesn't discover my SBrick (Nordic does).

    In the meantime SBrick on my LG G2 didn't start anymore. It just closes one second after starting without any feedback. Had to reset my phone, as deleting all data and cache and force closing the app didn't do anything.

    So... still no luck on my LG G2, I ran a few tests on a Moto G and a Galaxy Note 3 though:

    • SBrick was discovered, but Led didn't turn on in the testpanel and the testsliders didn't do anything. I've tried it about ten times before it started working. I gave up with the Galaxy Note 3, it just wouldn't do anything, even though the SBrick was found. Note that Bluetooth was either disabled on the Moto G or the Note 3 to prevent intermission.
    • Eventually when I got a profile to work on the Moto G I could confirm the Gyro is flaky and worked on the wrong axis. Unusable.
    • After playing around with a few controls the responsetime seemed to improve.
    • After a short while the controls just stopped working, I might have been messing around with different profiles too much.
    • Controls can't be reversed, or it isn't clear where this should happen, the on/off switches in the brick view don't seem to do anything (on/off wouldn't be a logical description anyway)
    • There's no feedback from the App whether or not you're connected to an SBrick. The profile just fires up and controls either work or not. There should be a way to see that you're connected and everything should work.

    (some old comment about APIs)

    I'm considering diving into an Android App myself, but my guess is I don't have time for that in the next 4 months, as I have many higher prio-activities next to my regular workweek.

    EDIT - Actually, I might as well have a look so I requested membership for development. I want this damn thing to be big success, so anything I can help with is a good thing.


    This post was edited by Nick Matthews at December 27, 2014 9:35 PM CET
    • 21 posts
    December 27, 2014 8:18 PM CET

    [blockquote]Norman Chalcraft said:In order to check the visibility of an SBrick I have installed the utility Nordic nRF Master Control Panel.  Using this  can discover an SBrick, connect to it and even Bond with it.[/blockquote]

    Thank you for program! Now I saw my bricks :)
    At least we have three people with a problem "discovering sbrick..." using Galaxy S3. I hope we will not stay without attention!


    This post was edited by Maxim Baybakov at December 27, 2014 8:19 PM CET
    • 34 posts
    December 27, 2014 4:06 PM CET

    Check it on your PC when logged in to play store

    https://play.google.com/store/apps/details?id=com.vengit.sbrick

    Does it list yor devices as compatible ?

    And per info written here it does not support your version (only 4.3+ ) because of Bluetooth profile support

  • December 27, 2014 3:57 PM CET

    I have Android 4.1.2 and Idon't even see the application in the store.

    Is it possible to work with Windows 8.1 ?

    • 34 posts
    December 27, 2014 3:07 PM CET

    After another round of tests.

    - linking and unliking profiles is a sure way how to crash the app, after two - three times it is a sure thing

    - also playing with the profiles, port testing, assignment of functions, etc leaves the app in a state that it won't controll the SBrick althoug it is discovered. There are different level of disconnect - sometimes the port test works but profiles don't, sometimes after jumping the screen back an forth it starts working (not on first try), sometimes not event the port testing and LED light respond and restart of app and SBrick is needed

    - sometimes I cannot choose anything from the menu - restart app

    - here is my take on profiles as l

    1. Steering wheel 1 - gyro is totally random, not usable
    2. Steering wheel 2 - see above
    3. Test 1 - displays a metal background - no controlls
    4. Test 2 - displays random number of sliders - the ones that are displayed can be added to Sbrick and work
    5. Joystick - not working - haven't found a controll to be added that it would respond to, as it would be gyro controlled anyways, see #1/2 
    6. Gamepad 1 - not working seems to display 3 controlls over each other
    7. Gamepad 2 - the one and only working for me - except that I can revers the acceleration; one can easily lose the focus as the max deviation is too close to the edge of screen and the detection is sensitive (4.7" on HTC)

    - Still haven't found a way to invert controls, tried the switches in the SBrick controll setup, but does not work for acceleration, steering nor sliders

    I also found some (.json) files in the storage and tried editing those. But it does not seem to take effect, even when changing a single digit in one slider position. Other than that the descriptive language does not seem to be difficult, I'd suggest to release the option to hand edit the profiles for those who like to experiment. And describe some of the values and references. 

    I have the feeling that the HW received a good chunk of development, but the SW at least the Android one, is utterly lacking.

    If you have problems in catching up, please go opensource ! Somebody else will...

    • 3 posts
    December 27, 2014 2:53 PM CET

    Hi SBrick team

     

    I received my SBrick with delay - after Christmas... it's fine ;  )

     

    But connecting it to my Samsung galaxy S4 mini or S3 with android 4.3 ends on permanent "Discovering SBricks"

     

    I just realise that it is not only my problem...

    What next ? I can wait but kids are disapointed for second time,

     

    Greets & waiting for support

    Marcin

     

    • 10 posts
    December 27, 2014 2:45 PM CET

    I've been playing around with my 2 SBricks for a while. Well, play around, I tried to, but I'm having trouble getting them to work, the same with the App. I'm sorry to post this big pile of complaints, and I do expect a lot to be improved, but so far I'm underwhelmed.

    The build quality of the bricks is excellent, as is the packaging. The rest is a nice touch... althogh I'm missing the instructions to build it into 42009 (actually I'll like to try and do that myself) Note that this is the most important part, software can be fixed on the fly.

    So please bear with me while I spew out my complaints after playing around with the SBricks for about an hour, and the App for the past few verions.

    First of all my LG G2 won't pair with the SBricks, my wife's Moto G seems to work every now and then but I'm getting messages about the PIN being denied, even though I can only assume there is no PIN to enter. The LED only flashed for a fraction of a second on startup. I've tried everything with my LG G2, it can see the bricks but not pair with them, de SBrick App will keep searching forever. Really dissappointing but really not something I can pin on the SBricks, who knows maybe my LG G2 is at fault here. I did unpair the SBricks to re-Pair, and they seem to be instantly deny the connection. I'm hoping for a Lollipop Update soon and/or I'll factory reset my device somewhere in the next few months, so I'll check it then.

    So... Once I'm paired and SBrick will find the SBrick I can setup the controls, and all ports seem to function. I had to fumble around a lot to get anything to work. "All further steps will be explained through the SBrick app itself" is far from true. There's nothing in the App. Guessing and playing around with it will get you there...

    I'm sorry to say the App is just the worst. I realize it isn't finished, but it's in a state where I wouldn't even release it to Google Play. The Menu sometimes doesn't work, brings you to the wrong screen, or just doesn't to anything, the back button is showing some really unexpected behavior as well. Available profiles are really rushed and the accelerometer worked on the wrong axis for me. Edit and Delete icons on top mostly don't do anything. If there is nothing to delete, or the delete button does nothing, don't display it. The background is horrible, I'd rather have a grey/neutral backgorund than the blurry half-repeating image thay is there now.

    However, I like the structure of Sets and Profiles. Putting a title and an image in there is a nice touch.

    The input of the App is really laggy, my SBrick took 0,5 sec to 1 second to even respond to some commands. Don't know why, but this is really bad.

    I'm having doubts that the know-how is available to you for building a proper Android App, it seems that it was built by an inexperienced team. I'm sorry if that seems insulting, but that is how I feel about it's current state. The software is the key to the SBrick's usability and it's failing right now. You should consider bringing out an API as soon as possible, because there are a lot of Android Hobbyists out there that will blow this App away with something better in a matter of weeks. Get community support on this!

     

    I hope you see my rant as the constructive criticism that I meant it to be. I might find the time to get into detail about the App and post some more specific problems I found.

    • 24 posts
    December 27, 2014 2:24 PM CET

    I've just received my SBricks so I'm keen to try them out using my Samsung Galaxy S3 with Android 4.3 and the SBrick version 20.  However....

    The app opens OK but when I try to add a set I only have the option to Add a MOC - I don't even see any reference to a year to pick a set from.

    By going to Market in the SBrick menu I can see 7 different profiles so this one bit appears OK.  However whenever I edit a MOC and try to link a brick it just sits there "discovering".

    Similarly, if I try to Manage Bricks all I get is a permanent "Discovering Sbricks".

    In order to check the visibility of an SBrick I have installed the utility Nordic nRF Master Control Panel.  Using this  can discover an SBrick, connect to it and even Bond with it.

    Basically, I'm left with 2 useless Sbricks due to what appears to be faulty software which appears to have no user documentation.  I had hoped that with the understandable delays in SBrick delivery we would have had working software to use with them.

    Is there any realistic timescale for getting the Android app to work??

    • 26 posts
    December 27, 2014 1:35 PM CET

    The sBrick team wants to integrate support for some lower Android versions next year. But you will need an OTG cable and a special bluetooth dongle.

  • December 27, 2014 11:54 AM CET

    Hello,

     

    i receive my 2 sbricks today and i have a Samsung Galaxy Note GT-N7000 with 4.1.2 Android version (it's a last version available). It's over or a version for old Android version is prepared? Sorry for my English, i'm French.

    https://www.flickr.com/photos/98395068@N03/


    This post was edited by Romuald Marechal at December 27, 2014 11:59 AM CET
    • 34 posts
    December 26, 2014 4:22 AM CET

    Installed the app today - fresh from Play store, 0.0.20 the app info says

    Victims - HTC One with 4.4.3 and Google Nexus 7 2nd gen with 4.4.4; Volvo 350F and Crawler

    here are my comments

    - "All further steps will be explained through the SBrick app itself" - Not. I know it's an early alpha, but there are probably hundreds SBrick on the way to users that will end up with puzzled expression as in "what to do now?" A simple numbered list on first screen would be good start or a help button.

    - Fortunately I could add my SBricks and test them without problems

    - Linking and unlinking profiles results in app crash - not consistent behavior, sometimes yes, sometimes no

    - After linking Sbrick there is no explanation what are the input types, or in the profiles ... there is no way to know which control is linked to which input name

    - How to invert input ? Is this the ON/OFF button next to channels ? Haven't found any impact of changing those ... and haven't found any invert

    - Out of the 7 profiles in 0.0.20 I found only the Gamepad 2 working close to expected. Gyro ones do not really work (calibration ?), joystick sensitivity is off,...

    - On HTC phone the controlls on Gamepad2 were quite good, although with smaller screen and non lockable controll positions, the control would eagerly center itself upon slight miss of focus.

    - the Nexus tablet was worse of, the controlls seemed more random and for some reason there was kind of lag to even basic inputs.

    Even with all this, it has some promise as I spent quite some time running the Volvo through the port tester sliders. The Crawler could be driven with that one profile and still can be fun.

    • 9 posts
    December 25, 2014 11:22 PM CET

    Hi guys, still no success - I tried that Nordic app also on my LG G-pad 8,3 with Android 4.4.2 - just once I also got this message in log when trying to bond it with SBrick:

    ERROR (0x85): Gatt error

    Got this topic om the web: https://devzone.nordicsemi.com/question/3492/service-discovery-fails-with-error-code-129-on-android-442/

    Any ideas?

    • 57 posts
    December 25, 2014 10:39 AM CET

    Maybe you're experiencing a similar problem to the one I described in my post from 24.Dec at iOS topic.

    https://social.sbrick.com/forums/topic/19/sbrick-i-os-app

    Check there for my solution - Switch BT off at you iPhone for awhile.

    • 2 posts
    December 25, 2014 8:07 AM CET

    Hello I am from Hong Kong and I received my SBrick yesterday.

    My observation

    Once the SBrick is connected with power, the LED just blinks once, NOT stay on!!!

    If I use my iPhone6 to control SBrick, it is okay to "control" it (of course some other problems but better not discuss here)

    However, if I use my LG gPad8.3 (android 4.4.2), I can only pair the SBrick. When I use the SBrick App and select manage SBrick, it just shows "discovering SBrick".... but nothing else.

    I know this is a project by LEGO fans but not really a commercial product.

    I guess most of the time and effort was used to develop the hardware....

    Please keep going and improve the SBrick for both Android and IOS...

     

    Just want to say Thank You  to the SBrick Team to deliver this amazing item for LEGO fans all around the world....


    This post was edited by Wai Kit at December 25, 2014 8:09 AM CET
    • 95 posts
    December 24, 2014 11:32 PM CET
    I tried to control 2 motors connected to 2 channels with the same sliders but only one is working (I tried all the channels pairs). Everything is working when I control them with 2 sliders.

    I also tried to change the rotation of one motor but I am not able to get it work on any channel.

    Thank you for your help

    Regards,

    Frederic
  • December 24, 2014 7:23 PM CET

    Hi!

    I read about a Function "Identify LED". What does this function do? Is this a kind of WeDo device identification? If yes, does it work even if the WeDo device identification (150kOhm from GND to C1) is not available?

    I'm asking because I rewired the 8870 a bit to alternate between LEDs depending on the PF cables polarity, and omitted the 150kOhm.

    Would I have to re-install the resistor in order to make the 8870 work with the SBrick? If the SBrick identifies a port as having an 8870, does it support both polarities or is it just one direction, 0 to 9V?

    Leg bedre & Merry Christmas,

    Christian Treczoks

    • 95 posts
    December 24, 2014 2:05 PM CET

    I have just received my Sbricks :-)

    Is there any profile with a dial (like the 8879 remote)?

    Or a slider not going back to zero when the finger is released?

     

    Thank you

     


    This post was edited by Frederic Ayrault at December 24, 2014 2:06 PM CET
    • 9 posts
    December 24, 2014 1:59 PM CET

    I am trying tp connect to my personal phone, no security apps on it. I can bond with other devices with no problem. I can't find a degub option in the nordic app, just "show log":

    After i choose to bond It goes:

    "Connected to ...MAC number or smth...

    Services discovered

    Bond information deleted

    Disconnected"

     

    +There is also time for each action but I didn't write that.

    I googled a bit (I don't now anything about BLE technology at all) and I have found something about a possible error of re-bond the devices, after the bond has been erased from one of the devices. I really am clueless about this so this is just a speculation...

    I'll wait a bit to check out the connection on my friends I-phone.

    Another idea - if I restore factory setings on my phone, do you think there is a chance to get a connection - if my above written speculation of rebonding might be true?

    Btw. and offtopic - together with 2pac of SBricks there are supposed to be instructions for integrating them into 42009 - what's up with that?

    Thx for assistance,

    regards and Merry Christmas

    Miha

     

     

     

     

    • 87 posts
    December 24, 2014 12:31 AM CET

    [blockquote]Majkl Spajkl said:

     It say STATUS: Connected NOT BONDED, as soon as I choose BOND option it disconets and log shows BOND INFORMATION DELETED and right after it DISCONECTED.[/blockquote]

     

    OK, it seems you have BT BLE working. But I can BOND to SBrick and it doesn't disconnect. That Nordic app has something at bottom left corner, like DEBUG or LOG, can't remember. Can you repeat the BOND and see the messages that appear after that? Not much use for me but might help Vengit.

    Other thing that ocurred to me... do you have some security app on your Android (like if your Android is for corporate use and your company has some Endpoint protection software installed on it)?

    • 9 posts
    December 23, 2014 11:44 PM CET

    Hi Jorge, I installed that app ypu mentioned on my phone and it can connect to the Sbrick. It say STATUS: Connected NOT BONDED, as soon as I choose BOND option it disconets and log shows BOND INFORMATION DELETED and right after it DISCONECTED.

    Does that tell you anything?

    I have tried the AAA battery box and a couple of AA regular OF battery boxes. I have conected the SBrick to them with PF extension cable s or even directly over the cable attachment (head, I dont know what to call it...)

     

     It seems something cuts the bonding protocol off the second it starts...

    • 87 posts
    December 23, 2014 10:57 PM CET

    [blockquote]Majkl Spajkl said:

    [blockquote]Jorge Pereira said:

    Happened at least once with me. Try to disable BT on the Android and power off the SBrick and on again to release all BT connections, then enable BT again. Killing the SBrick App also doesn't hurt :)

    v0.0.20 has just appeared at Google App, please update if you can.

    The LED should stay lit right after connecting power to the SBrick, even without BT connections. After some minutes, the SBrick will "reduce it's presence" and I think the LED be off and just blink once in a while [not sure] - but it will still appear to BT client devices when scanning for BT LE devices.

    [/blockquote]

    Nope - the LED just blinks once on both of my S bricks (changed BB and batteries) nothing...

    I tried again several times your proposed protocol - no success so far... Can anyone at least confirm that Sony Xperia is or is not BLE compatible?

    [/blockquote]

     

    Sorry to hear that. Can't do much more from my side (I'm not from Vengit).

    I have a Sony Xperia Z1. You also need Android 4.3, at minimum. Mine is 4.4.4, works fine (it worked fine with previous version, 4.3.x). Even without SBrick app I can test my beta SBrick, installed Nordic nRF Master Control Panel, it sees the SBrick and connects to it, list lots of BT BLE information not usefull for you but serves as a test tool (you need to close SBrick App to release BT, even if you don't have a connection to the SBrick).

    I'm using it now. The SBrick led is ON since at least 3 minutes ago when I turned it on. There seems to be a problem with yours, very strange to happen with both. What LEGO battery are you using, and how is it connected to the SBrick?