SlideShare a Scribd company logo
1 of 47
R.D.SIVAKUMAR,M.Sc.,M.Phil.,M.Tech.,
Assistant Professor of Computer Science &
Assistant Professor and Head, Department of M.Com.(CA),
Ayya Nadar Janaki Ammal College,
Sivakasi – 626 124.
Mobile: 099440-42243
e-mail : sivamsccsit@gmail.com
website: www.rdsivakumar.blogspot.in
F – BUS PROTOCOL
F – Bus Protocol
It is controlled mobile to any Embedded
systems
Most Nokia phones have F – Bus and M-Bus
connections that can be used to connect a phone to
a PC or a Micro controller.
ETSI -> European Telecommunications
Standard Institute
GSM Standard for F-Bus
Functions of F-Bus Protocol
High Speed of full duplex communications
Speed -> 1,15,200 Bps
8 bit data bus
No Parity bit, 1 stop bit,
Why we go to F-Bus Protocol?
 In M- Bus Protocol has Half – duplex
communications
M-Bus is slow speed compare F-Bus
Protocol. M-Bus Speed is 9600 Bps.
M- Bus is used for 1 stop bit and 1 parity
bit
Objective
F – Bus Protocol implemented in server side. The SMS to the
mobile will get into the server via the data cable connected. Then
corresponding actives performed with respect to the
commands/requests in the SMS received.
The server will respond to the mobile using the mobile
connected to the server. The server will transfer the
command/request to the corresponding PC. Every communication
among the server and the mobile will be done using F – Bus
Protocol.
How to connect the Mobile To PC
Data Cable -> RS232
How to connect Mobile To PC
NOKIA models
(supporting PC Connection)
 Nokia 3310
 Nokia 3315
 Nokia 6110
F- Bus Protocol Format
• Byte : 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
• Data : 1E 00 0C 02 00 59 00 01 00 01 02 00 07 91 16 14
SMS msg centre
• Byte : 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
• Data: 91 09 10 F0 00 00 00 00 15 00 00 00 33 0A81
• Byte : 31 32 33 34 35 36 37 38 39 40 41 42 43
Data : 40 30 87 00 47 00 00 00 00 00 A7 00 00
Phone number
• Byte : 44 45 46 47
• Data : 00 00 00 00
• Byte : 48 49 50 51 52 53 54 55 56 57
• Data : E8 32 9B FD 06 00 seq pad oddoreven
Start the Message : Hello
F – Bus Frame Header Format
• Byte 0 : F-Bus Frame ID. (0x1E - > cable)
(0X1C -> Infrared)
• Byte 1 : Destination address.
• Byte 2 : Source address.
• Byte 3 : Message Type or 'command'. 0x02
• Byte 4 & 5 : Message length. In our case it is
0x0059 bytes long .
SMS Frame Header
Byte 6 to 8 : Start of the SMS Frame Header.
0x00, 0x01, 0x00
Byte 9 to 11 : 0x01, 0x02, 0x00 Send SMS Message
SMSC (12 Bytes)
Byte 12 : SMS Centre number length. 7 bytes0x07.
Byte 13 : SMSC number type (e.g. 0x81-unknown
0x91-international 0xa1-national )
• Byte 14 to 23 : (Octet format) SMSC Phone.no
(TPDU) Transfer Protocol Data Unit
Byte 24 : Message Type
XXXX XXX1 = SMS Submit from the MS to the SC.
XXXX XXX0 = SMS Deliver from the SC to the MS.
Byte 25 : Message Reference if SMS Deliver &
Validity Indicator used (Not use)
Byte 26 : Protocol ID.
• Byte 27 : Data Coding Scheme.
• Byte 28 : Message Size is 0x33 in hex unpacked
Destination's Phone Number (12 Bytes)
Byte 29 : Destination's number length.
Byte 30 : Number type
Byte 31 to 40: (Octet format) Destination's Phone Number
Validity Period (VP)
Byte 41 : Validity-Period Code.
Byte 42 to 47: Service Centre Time Stamp
• The SMS Message (SMS-SUBMIT)
• Byte 48 to 92 : SMS message packed into 7
bit characters.
• Byte 93 : Always 0x00
• The F-Bus usual ending
• Byte 94 : Packet Sequence Number
• Byte 95 : Padding Byte
• Byte 96 & 97 : Odd & even checksum bytes.
0X7F -> The acknowledge frame.
0X01,0X02,
0X03
Send Message
0x10 -> Received
0x0A -> Delete
SMS – Point to Point Character Mapping
This is the Technical Specification that
describes the Packing of 7 – bit characters and
shows the standard character map. Packing ASCII
into 7 – bit characters is a pain, but is quite easy to
do.
h e l l o (ASCII characters)
68 65 6C 6C 6F (In hexadecimal)
1101000 1100101 1101100 1101100 1101111 (In Binary)
Reverse it
6F 6C 6C 65 68
1101111 1101100 1101100 1100101 1101000
Convert into the Hexa Decimal and the right shift
After Packing
110 11111101 10011011 00110010 11101000
06 FD 9B 32 E8
Again Reverse it
The message hello is therefore E8 32 9B FD 06 when
packed.
F – Bus Protocol Layers
SM _ AL
SM _ AL
SM _ TL SM _ TL
SM _ RL SM _ RL
SM _ LL SM _ LL
F – Bus Protocol Layers
►SM_LL ->Short Message Lower Layer
►SM_TL ->Short Message Transport Layer
►SM_RL -> Short Message Relay Layers
►SM_AL ->Short Message Application Layer
SM _ LL
►SM_LL is Short Message Lower Layer
►It is Provide the give to the service to the
Upper Layer for SM_RL.
SM _ RL
SM – RL is Short Message Relay Layer
It is Performing the acknowledegment , store and
retrive the data
SM-TL Layers
►Consist of Three Fields
 Address Length Fields
 Type of Address Fields
 Address Value Field of Variable Length Fields
Address Length Fields
►It is stored the address length type of
address and address value to be stored.
►It is integer represent numbers
►It is One Octet
Type of Address Fields
6 5 4 Explain
0 0 0 unknown
0 0 1 International Number
0 1 0 National Number
0 1 1 Network Specific Number
1 0 0 Subscriber Number
1 0 1 Alpha numeric
1 1 0 Abbreviated Number
1 1 1 Reserved Extension
►SM-AL is short Message Application Layer
►It is Performed the Message Passing
►It is containing Maximum Range is 4096
Bytes
SM - AL
Point to Point Character table
 It is Compression Method Used for F-Bus Protocol.
 It is Performed both unpacking and packing the
message.
 This is the Technical Specification that describes
the Packing of 7–bit characters and shows the standard
character map.
Sending SMS
h e l l o Message
68 65 6C 6C 6F ASCII
1101000 1100101 1101100 1101100 1101111 Binary
o
6F
1101111
l
6C
1101100
l
6C
1101100
e
65
1100101
h
68
1101000
Swap
110
06
11111101
FD
10011101
9B
00110010
32
11101000
E8
Pack
MESSAGE PACKING
Character Mapping table
Packing 919841004283:
9 1 9 8 4 1 0 0 4 2 8 3
3 8 2 4 0 0 1 4 8 9 1 9
38 24 00 14 89 19
NUMBER PACKING
SMSC PACKING
Packing 919841004283:
9 1 9 8 4 1 0 0 4 2 8 3
1 9 8 9 1 4 0 0 2 4 3 8
19 89 14 00 24 38
How to delete a SMS message with F-Bus?
When the phone gets sent a SMS message it sends a
'SMS Message Received Frame' with the message attached. In
this frame is the location where the message is stored. All you
have to do is tell the phone to delete it!
Byte : 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
Data : 1E 00 0C 14 00 08 00 01 00 0A 02 02 01 41 11 54
 41 to 47 ->In this Seven Byte to be generated
the sequence Number.
 Each and Every message Calculated the Separate
sequence Number Generated , until 47 byte.
 Suppose Another 8 ’th SMS receive Means Once
again Sequence Number Start the 41 Byte and go to 47
Byte.
Byte 03: Message Type = 0x14 - SMS Functions
Byte 04 & 05: Message Length = 0x0008 - 08 Bytes long
Byte 6 to 8: Start of the SMS Frame Header. 0x00, 0x01, 0x00
Byte 9: 0x0A Delete SMS Message
Byte 10: 0x02 = Memory Type - (0x03 = phone)
Byte 11: 0x02 = Location where SMS message stored.
Byte 12: 0x01
Byte 13: Packet Sequence Number
Byte 14 & 15: Odd & even checksum bytes
How to receive a SMS message with F-Bus?
When the phone gets sent a SMS message it sends a 'SMS
Message Received Frame' with the message attached. The
SMS send example above sends a SMS message back to my
phone (The same phone sending the message). Therefore
below is the SMS message that was sent above, but now
getting received by the phone.
1E 0C 00 7F 00 02 D1 00 CF 71
1E 0C 00 D2 00 26 01 00 00 03 56 20 30 34 2E 34 35 0A 32 31 2D 30 36 2D 30
31 0A 4E 48 4D 2D 35 0A 28 63 29 20 4E 4D
50 2E 00 01 41 3F A4
The first line is an Acknowledge command frame.
Notice how the destination and source addresses are now
swapped.
 This message is two bytes long with the two bytes
representing the message type received (0xD1) and the
sequence number (0x00).
0X7F -> The acknowledge frame.
0X01,0X02,
0X03
Send Message
0x10 -> Received
0x0A -> Delete
Modules
►F – Bus Protocol implementation.
►Point to Point Character Mapping.
►Mobile To PC Communication.
►Client and Server communications.
►PC to Mobile communication.
1.F – Bus Format
The F – Bus Protocol format implementation is
server side and run in the Back ground. It is to
identified the received Message or send Message
or Delete the Message.
2 . Point to Point Character Mapping
It is Compression Method Used for F-Bus
Protocol. It is Performed both unpacking and
packing the message. It is used to read the
packed messages comes to the serial protocol
analyzer.
3. Mobile to PC Communication
Mobile to PC Communication is held using
Data Cable (RS 232). Data Cable is connected
from Mobile to PC COM Port. That connection is
made to extract the information from Mobile to PC.
The COM Port will wait for incoming Messages.
4 . Client and Server Communications
After Extracting the information from the
Mobile, the server communications with the
corresponding Clients. The Server controls the
client through TCP/IP.
5 . PC to Mobile Communications
After the Client passed information to
server threw TCP/IP, the Server will give the
responses receives to the sender Mobile
Automatically.
F-Bus Protocol - R.D.Sivakumar

More Related Content

What's hot

Data Link Layer Numericals
Data Link Layer NumericalsData Link Layer Numericals
Data Link Layer NumericalsManisha Keim
 
Forward Bit Error Correction - Wireless Communications
Forward Bit Error Correction - Wireless Communications Forward Bit Error Correction - Wireless Communications
Forward Bit Error Correction - Wireless Communications Surya Chandra
 
008 stp principle issue1.3bx1
008 stp principle issue1.3bx1008 stp principle issue1.3bx1
008 stp principle issue1.3bx1jcbp_peru
 
Network Layer Numericals
Network Layer NumericalsNetwork Layer Numericals
Network Layer NumericalsManisha Keim
 
J1939 presentation by Simma Software
J1939 presentation by Simma SoftwareJ1939 presentation by Simma Software
J1939 presentation by Simma SoftwareRazvan Girmacea
 
Chap 02
Chap 02Chap 02
Chap 02IGNOU
 
Introduction to the Data Link Layer
Introduction to the Data Link LayerIntroduction to the Data Link Layer
Introduction to the Data Link LayerMeenakshi Paul
 
20CS2007 Computer Communication Networks
20CS2007 Computer Communication Networks 20CS2007 Computer Communication Networks
20CS2007 Computer Communication Networks Kathirvel Ayyaswamy
 
Chap 03
Chap 03Chap 03
Chap 03IGNOU
 
Ip addressing
Ip addressingIp addressing
Ip addressingOnline
 
FEC-Forward Error Correction for Optics Professionals..www.mapyourtech.com
FEC-Forward Error Correction for Optics Professionals..www.mapyourtech.comFEC-Forward Error Correction for Optics Professionals..www.mapyourtech.com
FEC-Forward Error Correction for Optics Professionals..www.mapyourtech.comMapYourTech
 
Data Communication & Computer Networks : Data Types
Data Communication & Computer Networks : Data TypesData Communication & Computer Networks : Data Types
Data Communication & Computer Networks : Data TypesDr Rajiv Srivastava
 
Error detection and correction, flow and error control and trasmission media
Error detection and correction, flow and error control and  trasmission mediaError detection and correction, flow and error control and  trasmission media
Error detection and correction, flow and error control and trasmission mediaPANKAJ333
 

What's hot (20)

Data Link Layer Numericals
Data Link Layer NumericalsData Link Layer Numericals
Data Link Layer Numericals
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Forward Bit Error Correction - Wireless Communications
Forward Bit Error Correction - Wireless Communications Forward Bit Error Correction - Wireless Communications
Forward Bit Error Correction - Wireless Communications
 
008 stp principle issue1.3bx1
008 stp principle issue1.3bx1008 stp principle issue1.3bx1
008 stp principle issue1.3bx1
 
Ch21
Ch21Ch21
Ch21
 
Mod10
Mod10Mod10
Mod10
 
Network Layer Numericals
Network Layer NumericalsNetwork Layer Numericals
Network Layer Numericals
 
J1939 presentation by Simma Software
J1939 presentation by Simma SoftwareJ1939 presentation by Simma Software
J1939 presentation by Simma Software
 
Chap 02
Chap 02Chap 02
Chap 02
 
02 Network Models
02 Network Models02 Network Models
02 Network Models
 
Introduction to the Data Link Layer
Introduction to the Data Link LayerIntroduction to the Data Link Layer
Introduction to the Data Link Layer
 
20CS2007 Computer Communication Networks
20CS2007 Computer Communication Networks 20CS2007 Computer Communication Networks
20CS2007 Computer Communication Networks
 
Chap 03
Chap 03Chap 03
Chap 03
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
FEC-Forward Error Correction for Optics Professionals..www.mapyourtech.com
FEC-Forward Error Correction for Optics Professionals..www.mapyourtech.comFEC-Forward Error Correction for Optics Professionals..www.mapyourtech.com
FEC-Forward Error Correction for Optics Professionals..www.mapyourtech.com
 
Data Communication & Computer Networks : Data Types
Data Communication & Computer Networks : Data TypesData Communication & Computer Networks : Data Types
Data Communication & Computer Networks : Data Types
 
Ch05
Ch05Ch05
Ch05
 
Network
NetworkNetwork
Network
 
Ip addressing classful
Ip addressing classfulIp addressing classful
Ip addressing classful
 
Error detection and correction, flow and error control and trasmission media
Error detection and correction, flow and error control and  trasmission mediaError detection and correction, flow and error control and  trasmission media
Error detection and correction, flow and error control and trasmission media
 

Similar to F-Bus Protocol - R.D.Sivakumar

Digital transmission new unit 3
Digital transmission new unit 3Digital transmission new unit 3
Digital transmission new unit 3Srashti Vyas
 
J1939 presentation by Simma Software
J1939 presentation by Simma SoftwareJ1939 presentation by Simma Software
J1939 presentation by Simma SoftwareRazvan Girmacea
 
Ss7 Introduction Li In
Ss7 Introduction Li InSs7 Introduction Li In
Ss7 Introduction Li Inmhaviv
 
Introduction To Telecom
Introduction To TelecomIntroduction To Telecom
Introduction To Telecomhumannetwork
 
Sdh basics hand_outs_of_sdh_basics
Sdh basics hand_outs_of_sdh_basicsSdh basics hand_outs_of_sdh_basics
Sdh basics hand_outs_of_sdh_basicsPaul Andrew
 
How PSTN phone works?
How PSTN phone works?How PSTN phone works?
How PSTN phone works?mahipal9
 
Pmit lecture 03_wlan_wireless_network_2016
Pmit lecture 03_wlan_wireless_network_2016Pmit lecture 03_wlan_wireless_network_2016
Pmit lecture 03_wlan_wireless_network_2016Chyon Ju
 
Data and computer communication exam lll
Data and computer communication exam lllData and computer communication exam lll
Data and computer communication exam lllAndrew Ibrahim
 
Industrial Data Network-modbus-Protocol.pptx
Industrial Data Network-modbus-Protocol.pptxIndustrial Data Network-modbus-Protocol.pptx
Industrial Data Network-modbus-Protocol.pptxSeekayAlaisKaruppaia
 
Fpga implemented multichannel hdlc transceiver
Fpga implemented multichannel hdlc transceiverFpga implemented multichannel hdlc transceiver
Fpga implemented multichannel hdlc transceiveriaemedu
 
Final Report - morse code.pdf
Final Report - morse code.pdfFinal Report - morse code.pdf
Final Report - morse code.pdfHanaBaSabaa
 

Similar to F-Bus Protocol - R.D.Sivakumar (20)

Digital transmission new unit 3
Digital transmission new unit 3Digital transmission new unit 3
Digital transmission new unit 3
 
J1939 presentation by Simma Software
J1939 presentation by Simma SoftwareJ1939 presentation by Simma Software
J1939 presentation by Simma Software
 
Ss7 Introduction Li In
Ss7 Introduction Li InSs7 Introduction Li In
Ss7 Introduction Li In
 
Lecture 7n
Lecture 7nLecture 7n
Lecture 7n
 
Cdma and 3 g
Cdma and 3 gCdma and 3 g
Cdma and 3 g
 
Wcdma
WcdmaWcdma
Wcdma
 
gsm.pdf
gsm.pdfgsm.pdf
gsm.pdf
 
Introduction To Telecom
Introduction To TelecomIntroduction To Telecom
Introduction To Telecom
 
Sdh basics hand_outs_of_sdh_basics
Sdh basics hand_outs_of_sdh_basicsSdh basics hand_outs_of_sdh_basics
Sdh basics hand_outs_of_sdh_basics
 
How PSTN phone works?
How PSTN phone works?How PSTN phone works?
How PSTN phone works?
 
Data link layer
Data link layerData link layer
Data link layer
 
Pmit lecture 03_wlan_wireless_network_2016
Pmit lecture 03_wlan_wireless_network_2016Pmit lecture 03_wlan_wireless_network_2016
Pmit lecture 03_wlan_wireless_network_2016
 
Cellular NWs.pptx
Cellular NWs.pptxCellular NWs.pptx
Cellular NWs.pptx
 
Bluetooth voice
Bluetooth voiceBluetooth voice
Bluetooth voice
 
Bm36382385
Bm36382385Bm36382385
Bm36382385
 
Ethernet 802.3.pptx
Ethernet 802.3.pptxEthernet 802.3.pptx
Ethernet 802.3.pptx
 
Data and computer communication exam lll
Data and computer communication exam lllData and computer communication exam lll
Data and computer communication exam lll
 
Industrial Data Network-modbus-Protocol.pptx
Industrial Data Network-modbus-Protocol.pptxIndustrial Data Network-modbus-Protocol.pptx
Industrial Data Network-modbus-Protocol.pptx
 
Fpga implemented multichannel hdlc transceiver
Fpga implemented multichannel hdlc transceiverFpga implemented multichannel hdlc transceiver
Fpga implemented multichannel hdlc transceiver
 
Final Report - morse code.pdf
Final Report - morse code.pdfFinal Report - morse code.pdf
Final Report - morse code.pdf
 

More from Sivakumar R D .

Internet Connections and Its Protocols - R D Sivakumar
Internet Connections and Its Protocols - R D SivakumarInternet Connections and Its Protocols - R D Sivakumar
Internet Connections and Its Protocols - R D SivakumarSivakumar R D .
 
Internet - R D Sivakumar.
Internet - R D Sivakumar.Internet - R D Sivakumar.
Internet - R D Sivakumar.Sivakumar R D .
 
Data Communication - R D Sivakumar
Data Communication - R D SivakumarData Communication - R D Sivakumar
Data Communication - R D SivakumarSivakumar R D .
 
NETWORK SERVICES - R D Sivakumar
NETWORK SERVICES - R D SivakumarNETWORK SERVICES - R D Sivakumar
NETWORK SERVICES - R D SivakumarSivakumar R D .
 
Computer Communications - R D Sivakumar
Computer Communications - R D SivakumarComputer Communications - R D Sivakumar
Computer Communications - R D SivakumarSivakumar R D .
 
Online Data Protection - R D Sivakumar
Online Data Protection - R D SivakumarOnline Data Protection - R D Sivakumar
Online Data Protection - R D SivakumarSivakumar R D .
 
Software Engineering - R.D.Sivakumar
Software Engineering - R.D.SivakumarSoftware Engineering - R.D.Sivakumar
Software Engineering - R.D.SivakumarSivakumar R D .
 
Different Kinds of Internet Protocols - R.D.Sivakumar
Different Kinds of Internet Protocols - R.D.SivakumarDifferent Kinds of Internet Protocols - R.D.Sivakumar
Different Kinds of Internet Protocols - R.D.SivakumarSivakumar R D .
 
Internet - R.D.Sivakumar
Internet - R.D.SivakumarInternet - R.D.Sivakumar
Internet - R.D.SivakumarSivakumar R D .
 
Electronic Publishing Tools for E-Learning - R.D.Sivakumar
Electronic Publishing Tools for E-Learning - R.D.SivakumarElectronic Publishing Tools for E-Learning - R.D.Sivakumar
Electronic Publishing Tools for E-Learning - R.D.SivakumarSivakumar R D .
 
E-learning Packages - R.D.Sivakumar
E-learning Packages - R.D.SivakumarE-learning Packages - R.D.Sivakumar
E-learning Packages - R.D.SivakumarSivakumar R D .
 
Digital Communication - R.D.Sivakumar
Digital Communication - R.D.SivakumarDigital Communication - R.D.Sivakumar
Digital Communication - R.D.SivakumarSivakumar R D .
 
Digigogy in Teaching - R.D.Sivakumar
Digigogy in Teaching - R.D.SivakumarDigigogy in Teaching - R.D.Sivakumar
Digigogy in Teaching - R.D.SivakumarSivakumar R D .
 
Cyber Commerce Technology - R.D.Sivakumar
Cyber Commerce Technology - R.D.SivakumarCyber Commerce Technology - R.D.Sivakumar
Cyber Commerce Technology - R.D.SivakumarSivakumar R D .
 
Video Lesson Creation - R.D.Sivakumar
Video Lesson Creation - R.D.SivakumarVideo Lesson Creation - R.D.Sivakumar
Video Lesson Creation - R.D.SivakumarSivakumar R D .
 
Cognitive and Personal Dimensions of Cyber Learning - R.D.Sivakumar
Cognitive and Personal Dimensions of Cyber Learning - R.D.SivakumarCognitive and Personal Dimensions of Cyber Learning - R.D.Sivakumar
Cognitive and Personal Dimensions of Cyber Learning - R.D.SivakumarSivakumar R D .
 
Innovative Presentation - R.D.Sivakumar
Innovative Presentation - R.D.SivakumarInnovative Presentation - R.D.Sivakumar
Innovative Presentation - R.D.SivakumarSivakumar R D .
 
Open Source in E-Learning - R.D.Sivakumar
Open Source in E-Learning - R.D.SivakumarOpen Source in E-Learning - R.D.Sivakumar
Open Source in E-Learning - R.D.SivakumarSivakumar R D .
 
Tuxpaint - R.D.Sivakumar
Tuxpaint - R.D.SivakumarTuxpaint - R.D.Sivakumar
Tuxpaint - R.D.SivakumarSivakumar R D .
 
Academic Blog Design - R.D.Sivakumar
Academic Blog Design - R.D.SivakumarAcademic Blog Design - R.D.Sivakumar
Academic Blog Design - R.D.SivakumarSivakumar R D .
 

More from Sivakumar R D . (20)

Internet Connections and Its Protocols - R D Sivakumar
Internet Connections and Its Protocols - R D SivakumarInternet Connections and Its Protocols - R D Sivakumar
Internet Connections and Its Protocols - R D Sivakumar
 
Internet - R D Sivakumar.
Internet - R D Sivakumar.Internet - R D Sivakumar.
Internet - R D Sivakumar.
 
Data Communication - R D Sivakumar
Data Communication - R D SivakumarData Communication - R D Sivakumar
Data Communication - R D Sivakumar
 
NETWORK SERVICES - R D Sivakumar
NETWORK SERVICES - R D SivakumarNETWORK SERVICES - R D Sivakumar
NETWORK SERVICES - R D Sivakumar
 
Computer Communications - R D Sivakumar
Computer Communications - R D SivakumarComputer Communications - R D Sivakumar
Computer Communications - R D Sivakumar
 
Online Data Protection - R D Sivakumar
Online Data Protection - R D SivakumarOnline Data Protection - R D Sivakumar
Online Data Protection - R D Sivakumar
 
Software Engineering - R.D.Sivakumar
Software Engineering - R.D.SivakumarSoftware Engineering - R.D.Sivakumar
Software Engineering - R.D.Sivakumar
 
Different Kinds of Internet Protocols - R.D.Sivakumar
Different Kinds of Internet Protocols - R.D.SivakumarDifferent Kinds of Internet Protocols - R.D.Sivakumar
Different Kinds of Internet Protocols - R.D.Sivakumar
 
Internet - R.D.Sivakumar
Internet - R.D.SivakumarInternet - R.D.Sivakumar
Internet - R.D.Sivakumar
 
Electronic Publishing Tools for E-Learning - R.D.Sivakumar
Electronic Publishing Tools for E-Learning - R.D.SivakumarElectronic Publishing Tools for E-Learning - R.D.Sivakumar
Electronic Publishing Tools for E-Learning - R.D.Sivakumar
 
E-learning Packages - R.D.Sivakumar
E-learning Packages - R.D.SivakumarE-learning Packages - R.D.Sivakumar
E-learning Packages - R.D.Sivakumar
 
Digital Communication - R.D.Sivakumar
Digital Communication - R.D.SivakumarDigital Communication - R.D.Sivakumar
Digital Communication - R.D.Sivakumar
 
Digigogy in Teaching - R.D.Sivakumar
Digigogy in Teaching - R.D.SivakumarDigigogy in Teaching - R.D.Sivakumar
Digigogy in Teaching - R.D.Sivakumar
 
Cyber Commerce Technology - R.D.Sivakumar
Cyber Commerce Technology - R.D.SivakumarCyber Commerce Technology - R.D.Sivakumar
Cyber Commerce Technology - R.D.Sivakumar
 
Video Lesson Creation - R.D.Sivakumar
Video Lesson Creation - R.D.SivakumarVideo Lesson Creation - R.D.Sivakumar
Video Lesson Creation - R.D.Sivakumar
 
Cognitive and Personal Dimensions of Cyber Learning - R.D.Sivakumar
Cognitive and Personal Dimensions of Cyber Learning - R.D.SivakumarCognitive and Personal Dimensions of Cyber Learning - R.D.Sivakumar
Cognitive and Personal Dimensions of Cyber Learning - R.D.Sivakumar
 
Innovative Presentation - R.D.Sivakumar
Innovative Presentation - R.D.SivakumarInnovative Presentation - R.D.Sivakumar
Innovative Presentation - R.D.Sivakumar
 
Open Source in E-Learning - R.D.Sivakumar
Open Source in E-Learning - R.D.SivakumarOpen Source in E-Learning - R.D.Sivakumar
Open Source in E-Learning - R.D.Sivakumar
 
Tuxpaint - R.D.Sivakumar
Tuxpaint - R.D.SivakumarTuxpaint - R.D.Sivakumar
Tuxpaint - R.D.Sivakumar
 
Academic Blog Design - R.D.Sivakumar
Academic Blog Design - R.D.SivakumarAcademic Blog Design - R.D.Sivakumar
Academic Blog Design - R.D.Sivakumar
 

Recently uploaded

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Recently uploaded (20)

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

F-Bus Protocol - R.D.Sivakumar

  • 1. R.D.SIVAKUMAR,M.Sc.,M.Phil.,M.Tech., Assistant Professor of Computer Science & Assistant Professor and Head, Department of M.Com.(CA), Ayya Nadar Janaki Ammal College, Sivakasi – 626 124. Mobile: 099440-42243 e-mail : sivamsccsit@gmail.com website: www.rdsivakumar.blogspot.in F – BUS PROTOCOL
  • 2. F – Bus Protocol It is controlled mobile to any Embedded systems Most Nokia phones have F – Bus and M-Bus connections that can be used to connect a phone to a PC or a Micro controller.
  • 3. ETSI -> European Telecommunications Standard Institute
  • 5. Functions of F-Bus Protocol High Speed of full duplex communications Speed -> 1,15,200 Bps 8 bit data bus No Parity bit, 1 stop bit,
  • 6. Why we go to F-Bus Protocol?  In M- Bus Protocol has Half – duplex communications M-Bus is slow speed compare F-Bus Protocol. M-Bus Speed is 9600 Bps. M- Bus is used for 1 stop bit and 1 parity bit
  • 7. Objective F – Bus Protocol implemented in server side. The SMS to the mobile will get into the server via the data cable connected. Then corresponding actives performed with respect to the commands/requests in the SMS received. The server will respond to the mobile using the mobile connected to the server. The server will transfer the command/request to the corresponding PC. Every communication among the server and the mobile will be done using F – Bus Protocol.
  • 8. How to connect the Mobile To PC
  • 10. How to connect Mobile To PC
  • 11. NOKIA models (supporting PC Connection)  Nokia 3310  Nokia 3315  Nokia 6110
  • 12. F- Bus Protocol Format • Byte : 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 • Data : 1E 00 0C 02 00 59 00 01 00 01 02 00 07 91 16 14 SMS msg centre • Byte : 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 • Data: 91 09 10 F0 00 00 00 00 15 00 00 00 33 0A81 • Byte : 31 32 33 34 35 36 37 38 39 40 41 42 43 Data : 40 30 87 00 47 00 00 00 00 00 A7 00 00 Phone number
  • 13. • Byte : 44 45 46 47 • Data : 00 00 00 00 • Byte : 48 49 50 51 52 53 54 55 56 57 • Data : E8 32 9B FD 06 00 seq pad oddoreven Start the Message : Hello
  • 14. F – Bus Frame Header Format • Byte 0 : F-Bus Frame ID. (0x1E - > cable) (0X1C -> Infrared) • Byte 1 : Destination address. • Byte 2 : Source address. • Byte 3 : Message Type or 'command'. 0x02 • Byte 4 & 5 : Message length. In our case it is 0x0059 bytes long .
  • 15. SMS Frame Header Byte 6 to 8 : Start of the SMS Frame Header. 0x00, 0x01, 0x00 Byte 9 to 11 : 0x01, 0x02, 0x00 Send SMS Message SMSC (12 Bytes) Byte 12 : SMS Centre number length. 7 bytes0x07. Byte 13 : SMSC number type (e.g. 0x81-unknown 0x91-international 0xa1-national )
  • 16. • Byte 14 to 23 : (Octet format) SMSC Phone.no (TPDU) Transfer Protocol Data Unit Byte 24 : Message Type XXXX XXX1 = SMS Submit from the MS to the SC. XXXX XXX0 = SMS Deliver from the SC to the MS. Byte 25 : Message Reference if SMS Deliver & Validity Indicator used (Not use) Byte 26 : Protocol ID.
  • 17. • Byte 27 : Data Coding Scheme. • Byte 28 : Message Size is 0x33 in hex unpacked Destination's Phone Number (12 Bytes) Byte 29 : Destination's number length. Byte 30 : Number type Byte 31 to 40: (Octet format) Destination's Phone Number Validity Period (VP) Byte 41 : Validity-Period Code. Byte 42 to 47: Service Centre Time Stamp
  • 18. • The SMS Message (SMS-SUBMIT) • Byte 48 to 92 : SMS message packed into 7 bit characters. • Byte 93 : Always 0x00 • The F-Bus usual ending • Byte 94 : Packet Sequence Number • Byte 95 : Padding Byte • Byte 96 & 97 : Odd & even checksum bytes.
  • 19. 0X7F -> The acknowledge frame. 0X01,0X02, 0X03 Send Message 0x10 -> Received 0x0A -> Delete
  • 20. SMS – Point to Point Character Mapping This is the Technical Specification that describes the Packing of 7 – bit characters and shows the standard character map. Packing ASCII into 7 – bit characters is a pain, but is quite easy to do. h e l l o (ASCII characters) 68 65 6C 6C 6F (In hexadecimal) 1101000 1100101 1101100 1101100 1101111 (In Binary) Reverse it
  • 21. 6F 6C 6C 65 68 1101111 1101100 1101100 1100101 1101000 Convert into the Hexa Decimal and the right shift After Packing 110 11111101 10011011 00110010 11101000 06 FD 9B 32 E8 Again Reverse it The message hello is therefore E8 32 9B FD 06 when packed.
  • 22. F – Bus Protocol Layers SM _ AL SM _ AL SM _ TL SM _ TL SM _ RL SM _ RL SM _ LL SM _ LL
  • 23. F – Bus Protocol Layers ►SM_LL ->Short Message Lower Layer ►SM_TL ->Short Message Transport Layer ►SM_RL -> Short Message Relay Layers ►SM_AL ->Short Message Application Layer
  • 24. SM _ LL ►SM_LL is Short Message Lower Layer ►It is Provide the give to the service to the Upper Layer for SM_RL. SM _ RL SM – RL is Short Message Relay Layer It is Performing the acknowledegment , store and retrive the data
  • 25. SM-TL Layers ►Consist of Three Fields  Address Length Fields  Type of Address Fields  Address Value Field of Variable Length Fields
  • 26. Address Length Fields ►It is stored the address length type of address and address value to be stored. ►It is integer represent numbers ►It is One Octet
  • 27. Type of Address Fields
  • 28. 6 5 4 Explain 0 0 0 unknown 0 0 1 International Number 0 1 0 National Number 0 1 1 Network Specific Number 1 0 0 Subscriber Number 1 0 1 Alpha numeric 1 1 0 Abbreviated Number 1 1 1 Reserved Extension
  • 29. ►SM-AL is short Message Application Layer ►It is Performed the Message Passing ►It is containing Maximum Range is 4096 Bytes SM - AL
  • 30. Point to Point Character table  It is Compression Method Used for F-Bus Protocol.  It is Performed both unpacking and packing the message.  This is the Technical Specification that describes the Packing of 7–bit characters and shows the standard character map. Sending SMS
  • 31. h e l l o Message 68 65 6C 6C 6F ASCII 1101000 1100101 1101100 1101100 1101111 Binary o 6F 1101111 l 6C 1101100 l 6C 1101100 e 65 1100101 h 68 1101000 Swap 110 06 11111101 FD 10011101 9B 00110010 32 11101000 E8 Pack MESSAGE PACKING
  • 32.
  • 34. Packing 919841004283: 9 1 9 8 4 1 0 0 4 2 8 3 3 8 2 4 0 0 1 4 8 9 1 9 38 24 00 14 89 19 NUMBER PACKING
  • 35. SMSC PACKING Packing 919841004283: 9 1 9 8 4 1 0 0 4 2 8 3 1 9 8 9 1 4 0 0 2 4 3 8 19 89 14 00 24 38
  • 36. How to delete a SMS message with F-Bus? When the phone gets sent a SMS message it sends a 'SMS Message Received Frame' with the message attached. In this frame is the location where the message is stored. All you have to do is tell the phone to delete it! Byte : 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 Data : 1E 00 0C 14 00 08 00 01 00 0A 02 02 01 41 11 54
  • 37.  41 to 47 ->In this Seven Byte to be generated the sequence Number.  Each and Every message Calculated the Separate sequence Number Generated , until 47 byte.  Suppose Another 8 ’th SMS receive Means Once again Sequence Number Start the 41 Byte and go to 47 Byte.
  • 38. Byte 03: Message Type = 0x14 - SMS Functions Byte 04 & 05: Message Length = 0x0008 - 08 Bytes long Byte 6 to 8: Start of the SMS Frame Header. 0x00, 0x01, 0x00 Byte 9: 0x0A Delete SMS Message Byte 10: 0x02 = Memory Type - (0x03 = phone) Byte 11: 0x02 = Location where SMS message stored. Byte 12: 0x01
  • 39. Byte 13: Packet Sequence Number Byte 14 & 15: Odd & even checksum bytes How to receive a SMS message with F-Bus? When the phone gets sent a SMS message it sends a 'SMS Message Received Frame' with the message attached. The SMS send example above sends a SMS message back to my phone (The same phone sending the message). Therefore below is the SMS message that was sent above, but now getting received by the phone.
  • 40. 1E 0C 00 7F 00 02 D1 00 CF 71 1E 0C 00 D2 00 26 01 00 00 03 56 20 30 34 2E 34 35 0A 32 31 2D 30 36 2D 30 31 0A 4E 48 4D 2D 35 0A 28 63 29 20 4E 4D 50 2E 00 01 41 3F A4 The first line is an Acknowledge command frame. Notice how the destination and source addresses are now swapped.  This message is two bytes long with the two bytes representing the message type received (0xD1) and the sequence number (0x00).
  • 41. 0X7F -> The acknowledge frame. 0X01,0X02, 0X03 Send Message 0x10 -> Received 0x0A -> Delete
  • 42.
  • 43. Modules ►F – Bus Protocol implementation. ►Point to Point Character Mapping. ►Mobile To PC Communication. ►Client and Server communications. ►PC to Mobile communication.
  • 44. 1.F – Bus Format The F – Bus Protocol format implementation is server side and run in the Back ground. It is to identified the received Message or send Message or Delete the Message. 2 . Point to Point Character Mapping It is Compression Method Used for F-Bus Protocol. It is Performed both unpacking and packing the message. It is used to read the packed messages comes to the serial protocol analyzer.
  • 45. 3. Mobile to PC Communication Mobile to PC Communication is held using Data Cable (RS 232). Data Cable is connected from Mobile to PC COM Port. That connection is made to extract the information from Mobile to PC. The COM Port will wait for incoming Messages. 4 . Client and Server Communications After Extracting the information from the Mobile, the server communications with the corresponding Clients. The Server controls the client through TCP/IP.
  • 46. 5 . PC to Mobile Communications After the Client passed information to server threw TCP/IP, the Server will give the responses receives to the sender Mobile Automatically.