Simulate Vehicle tracking in omnet++ - networking

I want to simulate vehicle tracking in wireless sensor network using OMNeT++.
I have created WSN. But i don't know how to add vehicle object and move that object in that network. I need some ideas or source code.

Although this can be achieved using Veins, you might find some functionality missing that is relevant to sensor networks (e.g., battery consumption).
Recent versions of the INET Framework contain parts of Veins that allow you to move nodes according to vehicles' movement. See the documentation of the TraCIMobility class for more information.

You can use SUMO for vehicle mobility simulation, and connect it with OMNeT through Veins framework.

Related

Cross layer communication via Veins

I am working on SUMO-0.25.0, OMNeT++ 5.0, Veins-4.4 framework for vehicular simulation. I am interested on cross layer routing protocol for vehicular communication. Can anyone able to suggest me how I can retrieve PHY /MAC layer information such as SNIR and RSSI value from the application layer. For example, Veins demo application or my own AppLayer model?
A vector record of the SINR values calculated during frame reception using omnet++ signal mechanism as mention on the post. But i am unable to get SINR or RSSI value into the veins demo application such as TraCIDemo or my own AppLayer model.
It will be great if anyone could give me some idea how i can do it. Thanks in advance.
The easiest way I can think of is to change the Veins code to include the values you need in the messages that are passed from the PHY/MAC layers up to the application.

ATSAMB B11 BLE Pressure

Hi I am developing an application where an ATSAMB11 device has to send pressure data (from 0 to 6 bar with 5mbar steps) through BLE. I was just wondering if I should implement a custom service and characteristics or I can use the blood pressure service that is already implemented for atsamb11. I am asking because if I use the blood pressure service, it would be much easier as it is furnished with examples and I could write my program over it. Whereas if I have to create my custom service, I don't know where to start and what I need to write. (I precise that it's the first time that I'm working on BLE)
Another option would be to send the data through the custom serial chat service(which is also implemented and have an exemple), but I think that doing so is not the right way to use BLE. Indeed, why would everyone bother about different services and profiles if they could send anything through custom serial chat.
If you can use the standard blood pressure service, do that. Custom services are only used if there is no matching standard profile or the standard profile lacks some functionality one wants.

creating two wireless networks and one ethernet network with ns-3

I need to create two wireless networks and one ethernet network with ns-3 but all my ideas doesn't seem to work as I can't have collison. I was trying to create something connected like:
(wifi) ----point to point--- (ethernet)--- point to point--- (wifi)
can't post image, here is a link
It didn't work, it seems because I need something called point-to-multipoint communication and I don't know how to do that on ns-3 (I didn't even found about it on ns-3) and I hardly find reference about this matter. Tried to just create three nodes and assign two with wireless node and one with ethernet while trying that.
Also tried to create two pair of nodes with a point-to-point communcation between each but I realized I was changing the problem.
What you need is add two network interfaces for each node, one for point-to-point and another for Wi-Fi.
Interfaces
See the code sample in the ns3 source code for an example:
src/examples/tutorial/third.cc

Datasheet GPS Microsoft Band

I want to develop a software and in the next month hardware for receive Microsoft Band data, specifically from GPS, but I need the datasheet or fabricant of Band's GPS
You might be able to find some of that information in a teardown or fix guide.
eg This one or this one
You'll have to be more specific about the information you want when you say "datasheet or fabricant of Band's GPS" but, in any case, the current Band SDK (v1.3.10702) does not expose a means of streaming GPS sensor data from the Band.

Estimote Proximity Profile UUID for Android Development

I'm trying to make an Android program that will always scan for a specific Bluetooth device, and alert the user when the phone is within proximity.
I modified the demo code provided here: https://github.com/devunwired/accessory-samples/tree/master/BluetoothGatt
The second demo here, (titled "BeaconActivity,") constantly scans for Bluetooth devices with the thermometer service. For testing purposes, I am trying to make it scan for the proximity of an Estimote. I do not want to use the provided Estimote SDK since I plan on using a more generic Bluetooth device in the future.
In the above "BecaonActivity" a UUID for the thermometer service is defined. I tried switching this number out for the UUID for Estimotes defined on this page: https://community.estimote.com/hc/en-us/articles/200761958-Advertising-Packet-Estimote-s-Proximity-UUID
From the above linked source code, there is also a "TemperatureBeacon" class that has a "short-form UUID" of "0x1809." I realized that this was just the 5th-8th character in the full thermometer service UUID, so I changed it to "0x7F30".
After mostly just changing the UUIDs and leaving most of the code the same, I tested it on my phone, but it could not detect the Estimote. Any ideas about what I'm doing wrong?
This is Wojtek Borowicz, a community evangelist at Estimote. We're not ready yet to make specs for thermometer available for Android. Stay tuned!
Cheers.
I am not familiar with the demo code you provided but did you actually try to use the estimote proximty uuid (https://github.com/Estimote/Android-SDK) ?
private static final String ESTIMOTE_PROXIMITY_UUID = "B9407F30-F5F8-466E-AFF9-25556B57FE6D";
This might be helpful as well:
Check if Bluetooth Low Energy Beacons are nearby in Android
As David points out, for android devices you do not really have to consider UUIDs or services
if you are only interrested in proximity.

Resources