Docsity

Variables-Network Programming-Project (Bluetooth PAN) Report, Study Guides, Projects, Research of Network Programming

Toggle sidebar
bg1
Bluetooth PAN Implementation
Variables
24 | P a g e
Chapter 3: Variables
Following are the definitions of the major variables, we have used in this code.
num: This variable represents the current number of nodes in the network and assumes
the value 1, when ‘Start Simulation’ is pressed.
IPs_Stack: This is a 2d array that contains IPs. These are randomly choosen IPs that are
assigned to the new devices that connect to the piconet as slaves.
status: This variable is a string that contains the current status message string to be
shown in ‘edit1’ text box.
nodes: It is a structure array that contains the device name, IP address and pincode of
each node present in the network. The fields are assigned the following names:
>> Device_Name
IP
Pincode
docsity.com

Partial preview of the text

Download Variables-Network Programming-Project (Bluetooth PAN) Report and more Study Guides, Projects, Research Network Programming in PDF only on Docsity!

Bluetooth PAN Implementation Variables

24 | P a g e

Chapter 3: Variables

Following are the definitions of the major variables, we have used in this code.

num : This variable represents the current number of nodes in the network and assumes the value 1, when ‘Start Simulation’ is pressed.

IPs_Stack: This is a 2d array that contains IPs. These are randomly choosen IPs that are assigned to the new devices that connect to the piconet as slaves.

status: This variable is a string that contains the current status message string to be shown in ‘edit1’ text box.

nodes: It is a structure array that contains the device name, IP address and pincode of each node present in the network. The fields are assigned the following names:

Device_Name

IP

Pincode

docsity.com