I'm working on a bluetooth le project that will bind to android and iOS. I looked at the TI CC2540 dev kit, but I am not sure what I need to do to prototype with it. Are there alternatives to the IAR compiler? If not, how easy/friendly is it to push firmware/profiles? Can I change the CC2540 module roles (have one as a peripheral and one as a broadcaster)?
Essentially, can I use the CC2540 dev kit (with IAR if need be) and program write a really simple application that with use the GATT protocol and stack?
The kit that you have quoted is simply a demo that helps you to evaluate the TI solution. The two devices are programmed with two different firmwares: the first one works as a Peripheral while the other one works as a Central.
TI provides you also a large number of demos with related source code, hence using IAR you can develop your application.
Related
I may ask a stupid question. I want to use FreeRTOS as the OS on my NXP MCU MIMXRT1062XXXXB. The MCU connects to a display. I want to use QT to development user interface application. I want to know if it is possible to run QT application base on FreeRTOS on MCU?
Yes it is possible - lots of people do it. My first Google search for this hit this page on the QT website: https://doc.qt.io/QtForMCUs-2.1/qtul-using-with-freertos.html
How can I interface my Fingerprint Sensor using VB6? I've already made a login form but I need help using the fingerprint sensor for the security. Please help me, thanks in advance.
Here's a good starting point: Getting Started with Optical Fingerprint Reader – R305. It's for the 305 but the overall setup should be very similar if not identical. Most importantly you will find an SDK for R30X modules in the Resources section of this page. It includes drivers, demos (with source code), SYNO API, user manual, etc.
Also, Vishnu M Aiea wrote a C++ library to handle communication with the R307 sensor: R30X Arduino Library. You should consider using this to handle the communication aspect since it's already been built for you. You might need to get it compiled into a DLL to use with VB6.
There's also an article he wrote about the whole setup process: Interfacing R307 Optical Fingerprint Scanner with Arduino
These links thoroughly explain how to set everything up. I think with all this information you should be able to make a lot of progress and come back to Stack Overflow with more specific questions.
There are many .Net wrappers in C# for WinPcap like SharpPcap and PcapDotNet
I have tried to add these Nuget packages to my Xamarin Forms projects but it does not work. I want to create a wifi/packet scanner but I am not sure how to do this in Xamarin. Is it even possible?
When I clone the GitHub repo and build my own version of SharpPcap, the application runs, but I get the error:
System.DllNotFoundException: wpcap
The wpcap.dll is the dll that all these packages are wrapped around and use [DllImport("wpcap.dll")] to work. This wont work in Xamarin (I think).
Another way to use dll's is when you embed them as an application resource, is there any library which I can use that does that?
WinPcap consists of a driver, that extends the operating system to
provide low-level network access, and a library that is used to easily
access the low-level network layers. This library also contains the
Windows version of the well known libpcap Unix API.
Source: https://www.winpcap.org/
There is nothing impossible, however in mobile world you don't have that low level access to drivers and etc. unless you have a root on your device. It is unclear what exactly you want to build. But I know that on both iOS & Android there is an app called Fing. It scans your WiFi network for connected devices. It is written natively per platform. On Android there used to be many different applications that used MITM technique. For example DroidSheep. But I am not aware of any cross-platform solution that is able to scan the network or sniff packages.
I am thinking of doing further work on kaa projects but i have few questions. I actually want to modify the source code of the GPIO control esp and GPIO control android. Is this posible? I mean downloading the demo source code fromm Kaa sandbox and editing them.
What IDE do i use for the GPIO control esp and GPIO control android? How do i compile them. How do i run them again on my android phone and on ESP8266 device?
I will appreciate a guide to doing this or a better way of doing this.
Thank You,
You can download code of Kaa Sample Applications from Kaa Sandbox (or GitHub), but changing the code embedded on Kaa Sandbox is not trivial and long procedure.
Should you want to contribute your code changes, you may open a pull request on GitHub's Kaa Sample Applications repository.
Regarding your question about IDE. Kaa project does not limit or recommend using (or not using) of any IDE. That means you can use any one suitable for you. Also, you would normally use different IDE of Android and ESP8266. You should check the appropriate platforms recommendations and documentation on how to develop, debug and program the respective devices.
I'm absolutely new to microcontroller development and currently want to:
Understand a typical process of the development
Set I/O and tune all tools for the development.
Currently I'm using Arduino Uno (ATmega328 based)
I found PlatformIO. It looks useful for me to work with microcontrollers on different platforms
Qt Creator is a favorite IDE, and I'd prefer to continue using this for AVR programming (PlatformIO can also generate Qt Creator's project template)
I've tried to build and run first sketch there, it works. So the only question is still there is a debugging.
Correct me if I'm wrong, two primary ways to do this is a JTAG and debugWire, and both ones are "hardware" debug, correct? And, of course, require additional devices.
In other hand, Qt Creator has a "bare metal" plugin which can work (debug) with a devices who can "behaves" as gdbserver.
I also found this article where the author suggests own implementation for a library for an Arduino project, which emulates gdbserver for a PC GDB client via the usual serial connection. Of course, I'll try this way as a preferable in my case.
So the question is - please confirm that all assumptions are correct.
And probably someone uses this way (maybe without this IDE).