How do I only display the BLE name and not the mac address in MIT App Inventor? - bluetooth-lowenergy

I followed a tutorial and did this simple block of code that scans for BLE devices:This is what I had
However, I'm wondering if there is a way to hide the MAC addresses of scanned devices. I would just like the name so that the list looks cleaner. Thank you in advance.
I only looked up a solution but couldn't find much, other than redesigning so that you input a name rather than scan for all devices nearby. That isn't what I'm looking to do.

Related

Functionality in QR code without a web server

The context of this problem is weird (a magic trick that occurred to me), so I will skip that explanation and go straight to the point.
What I want: a set of QR codes (it can be just 1, or 2 different ones, either way will work for me). These QR codes may be scanned with a regular smartphone QR scanner to show some kind of text. My initial idea was a simple HTML page with the message in plain text. The difficult part is this:
Whenever someone scans the QR for the first time, certain message is show. But the second time, another message is shown. If it's just one QR code, I would like it to follow that sequence (alternating between the two messages). If there are 2 QR codes, I would want the first one scanned to display the first message (always) and the second one scanned to show the second one (always); the first scanned QR would determine which message will be shown in each one. The scan of one QR by one cell should not affect the scan of another phone (their functionality flow is independent).
I got some limitations though:
It must work just with the QR scanner a regular Android smartphone has (don't want the person installing any app).
I would like avoiding having to pay a server to store a page that has the functionality. The ideal scenery is the QR behaving like this by itself (maybe containing the proper script inside the QR).
I know how to generate QR codes and how to store HTML code in them using data:text/html protocol. My problem is the design of this functionality. Is there a way I can embed that functionality into a QR code (or two) without it being an URL to a web that stores the functionality? If not, which is the easiest way to achieve this?
Any help will be appreciated, thanks in advance.

Tampering with live network packets

I've put a lot of time and research into finding a reliable solution for my problem. I am attempting to modify values in packets sent to and from my Iphone, of course I can't directly view and tamper with packets directly from my phone. So I've connected my phone via proxy to my computer (windows) so I could attempt to modify the packets their. Now I can successfully view and save packets but I can't seem to find a way to modify them on the fly.
I've followed many suggestions posted here such as scapy and other tools like it yet I can't seem to get them to work on windows at all, also i'm not sure these tools are even right for my end goal. I am familiar with modifying live packets on programs like WPE Pro, but I don't think that's the right tool for the job.
My question is this, is this the right path for accomplishing my goal? If so do you have a suggestion for tools that may help? If not, where should I begin looking for different solution?
Edit: Specifically I am aiming to alter hex code in the packet. In the http 1.1 packets I want to alter, I know the exact position of a certain group of hex values that translate to a plain text number. For example, say on line 80 is some hex equaling "value:12345". I want to alter that "12345" part to different numbers, keeping everything else the same so my phone will process that different value instead.

QR Code AddressBook

I'm planning to use QR Code AddressBook on my project currently I'm using 3 0f 9 Barcode. I'm capturing Name, and Account number. but the barcode it's quite long.
I found out the QrCode Address book can capture a long characters including address website phone number, website and etc.
Does the QRCodes Address book works the same way with 3of9. from plain text just change the fonts it will convert to barcode.
If not what is the process to converting clear text to qrCode address.
Thanks in advance,
Ryl
No, it doesn't work like that.
You can use a third-party-library like zxing
https://github.com/zxing/zxing
or use this library and tools or watch at the provided sourecode.

what is the third device in the picture from <unix internal>?

The picture above is from the book .
The first device is disk, the second and fifth are monitor and keyborad, the fourth is tape,but what is the third ? It is too old for me ,can anyone help me ?
It is a printer a peripheral device which needs driver.
Looks like a printer, more specifically, try searching for images of an "impact printer". They looked quite similar. Also, present laser printers designed for use in office environments also look like this, especially if they have scanners/etc also included in the same box.

PIC Prgramming - The basic flow of things

Can someone please explain to me the basic flow of how this is done.
So currently I a USB pic programmer and also a multi pic adapter. I understand that I can use this to write my program to the PIC. But Im not sure what happens before that, like how do I actually test it with LED or some input sensor etc that gives out analog data?
This is what I have now: http://www.piccircuit.com/shop/pic-programmer/26-ica01-usb-pic-programmer-set.html
So I need to connect this to to a breadboard? And if so how? Im completely lost!! This is the first time that I attempt to do this. What I have done is use my Synapse RF Engine EK2100 to build what I want.
Now what...?
I'm not entirely sure what you're trying to accomplish but what you purchased is a programmer for PIC microcontrollers. After you have written some code whether in assembly or C and compiled it to a hex file, this device will put that code onto a PIC microcontroller that you buy separately. Have you purchased a PIC device to program or do you just have the programmer and the EK2100 kit? If you provide some more detail we can point you in the right direction.
Write a basic 'flash LED' program and then wire-up the PIC to see if it works.
Hot tip - use the internal oscillator to minimise the external component count (makes things simpler). Browse around a PIC savvy site like http://digital-diy.com/ to get lots of interesting ideas and code samples.
The community there mostly use PIC Basic type languages (such as Swordfish) that will land you code that looks something like this (header/setup removed for ease of explanation):
While True
High(LED)
DelaymS(500)
Low(LED)
DelaymS(500)
Wend

Resources