Coder Social home page Coder Social logo

OSX 10.12 Sierra fails about bluebasic HOT 6 OPEN

aanon4 avatar aanon4 commented on August 20, 2024
OSX 10.12 Sierra fails

from bluebasic.

Comments (6)

Netoperz avatar Netoperz commented on August 20, 2024

Your fork also cannot connect, so i assume that this project is useless at this momment as there is no way to upload the actual program to the chip.

So for this moment the bluebasic cannot be used on windows, on osx, and i do not have place to install third OS just for one program... LOL.

Sometimes it is better to first read issues and than wiki :)

You will loose less time.

I've build the device, bougt CC debuger flashed firmware and installed the app from appstore, and EPIC fail.

But thanx for your effort and good work.

The problems with OS X arfe year by year the same.

Those bustards are changing things, and year by year there are poroblems with USB to Serial bridges, USB controllers. Compillers, and now as i've heard from fellow programmers changing swift from 2.3 to 3, or something like that, so many apps needs actualization.

I loved OS X, now i Hate it. I bougt old lenovo Thinkpad x240 and with win 10 for coding everything works fine.

I'm 37 years old, and this is my firs windows instalation cince my birth. Linux is fine but please try to find IAR compiler for that platform....

Waiting for the fix.

from bluebasic.

kscheff avatar kscheff commented on August 20, 2024

Sorry to hear all the issues... Sometimes its hard to get the chain working, especially when its so complex with all "beta" type of software. Trust me I walked through that as well. Finding an IAR Complier is not the issue - its the price of the compiler which makes it useless for such projects, unless you have a well funded one.

I too had connection issue on the BlueBasic OSX console, even after it was working. Tim supplied a nice script resetting the bluetooth cache in the /utils directory of the project. Executing this helped once. Another source of trouble is a messed up BLE stack, here it helps to switch Bluetooth off/on in the main OSX settings. I am using an early 2011 MacBook Pro with an CSR8510 A10 Bluetooth dongle sticking in one USB port. I am using macOS Sierra 10.12.2 Beta at this moment.

Another option to get the device going is to use the console on iOS, but then you would need to compile the project and send it over to an iPhone.

from bluebasic.

Netoperz avatar Netoperz commented on August 20, 2024

strange, now your and the orginal version works. just updated the Xcode , weird ...

we will try to use this firmware for our project, if it will work the way we want, i was speaking with my friend that might we will develop multiplatform app as contribution , as a way of saying Thank You :)

One last question is it possible to lock access to the console with pin/password ? because right now anyone with console can connect and mess with the code am I wrong ?

from bluebasic.

Netoperz avatar Netoperz commented on August 20, 2024

Ok, so ... the app from appstore on my laptop does not work.
It works partially, it can discover the bluebasic device, and it can connect, but the code is not uploaded or executed, i'm getting ok after hello world test, but no hello world answer printed.

The app from your fork works with hello world, and prints back the hello world.

The beakon example is not working. so could you test the iBeakon example and tell if it works ?

I'm using Beacon scanner on android phone , exactly samsung A5 wit android 6.0 to find the beakon, and it sees other beakons around but not mine.

from bluebasic.

kscheff avatar kscheff commented on August 20, 2024

@Netoperz Great to hear progress. So I am not alone here. I too use this Firmware for a project, running an Solar charging data logger for camping mobiles. As far as I remember the iBeacon example worked.

I have not looked into how to lock the access, there is a way for PIN access. But I am not shure if it works and second if it is only for induvidual privacy...

One other way would be to use the ONCONNECT GOSUB like in Hello World, but terminate the connection immediately by GATT CLOSE command. Then there is only access in the first 5 seconds before the BASIC program starts. So if you can make shure no unsurhorized power cycle happens, then this would be a sufficient lock. However this locks you out for updates in case you have no physical access.

You might consider a special function with sequence and a hardware connection to generate a software driven reset, resulting in the 5 second access window.

This all is not a very secure meachanism, but might prevent someone driving by and messing around with your hardware. If you need more robust system, then this can be archived with special Firmware. I have developed such on the cc2541 chip with custom firmware. This is a more time consuming task, especially if you are not familiar with all the tools and chip internals.

from bluebasic.

Netoperz avatar Netoperz commented on August 20, 2024

Good to hear that.

CC2540 is in use because i have been developing a serial to BT 2.0 bridge using HC06 bt 2.0 module. and i occasionally ordered HC-08 that is bt smart from the same seller (a few pieces) so they were in my desk. Now i need the iBeakons for estimating the distance to the object, and also to send HIGH signal to BT smart device aka iBeakon to for example drive analog beeper when needed, when the object with iBeakon is farther than 10 meters the software on phone should trigger the alarm on beacon. So first choice was the hardware i have.

In future i think CC2541 will be used, right now i just test the ability to use BT 4.0 and what can be done and what does not.

I would love to look on the code for 2541 to understand how to get what i need . So if i will decide that i need my own build than i'll let you know and many you will be willing to share your work, we can share ours in exchange also, and a bottle of wine or good beer if you plan to visit Poland , especially Cracow (south of poland)

Cheers mate, and thank you for your effort. that is priceless. :)

from bluebasic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.