关于监护仪的通讯

hehong123 2013-05-23 01:04:59
现有一台飞利浦的监护仪,希望能从设备里面时时读取其数据并保存到数据库里面.
厂商发了一个全英文的PDF,但看起像用户手册一样,有做过请介绍一下,如何编写,望赐教
...全文
326 8 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
qqzm123 2014-01-23
  • 打赏
  • 举报
回复
楼主解决了没有
RainAndroid 2013-10-24
  • 打赏
  • 举报
回复
请问楼主解决了吗
hehong123 2013-08-23
  • 打赏
  • 举报
回复
CONNECT INDICATION EVENT
The Connect Indication message contains the ConnectIndInfo which is of variable length. The length
fields in the message depend on the length of the ConnectIndInfo.This message is only available on the
LAN interface.
Nomenclature u_32 : 1.0
{0x00 0x00 0x01 0x00}
ROapdus ro_type : ROIV_APDU
length : <xx>
{0x00 0x01 0xXX 0xXX}
ROIVapdu invoke_id : 0
command_type : CMD_EVENT_REPORT
length : <xx>
{0x00 0x00 0x00 0x00 0xXX 0xXX}
EventReportArg.
ManagedObjectId m_obj_class :NOM_MOC_VMS_MDS_COMPOS_SINGLE_BED
context_id : 0
handle : 0
RelativeTime event_time : 39424
OIDType event_type : NOM_NOTI_MDS_CONNECT_INDIC
u_16 length : <xx>
{0x00 0x23 0x00 0x00 0x00 0x00 0x00 0x00
0x9A 0x00 0x0D 0x17 0xXX 0xXX}
ConnectIndInfo [...]
MDS CREATE EVENT
The MDS Create Event message contains an AttributeList which is of variable length. The length fields
in the message depend on the length of the AttributeList.
SPpdu session_id : 0xE100
p_context_id : 2
{0xE1 0x00 0x00 0x02}
ROapdus ro_type : ROIV_APDU
length : <xx>
{0x00 0x01 0xXX 0xXX}
ROIVapdu invoke_id : 1
command_type : CMD_CONFIRMED_EVENT_REPORT
length : <xx>
{0x00 0x01 0x00 0x01 0xXX 0xXX}
EventReportArg.
ManagedObjectId m_obj_class : NOM_MOC_VMS_MDS
context_id : 0
handle : 0
RelativeTime event_time : 126976
OIDType event_type : NOM_NOTI_MDS_CREAT
u_16 length : <xx>
{0x00 0x21 0x00 0x00 0x00 0x00 0x00 0x01
0xf0 0x00 0x0d0x06 0xXX 0xXX}
MDSCreateInfo
ManagedObjectId m_obj_class : NOM_MOC_VMS_MDS
10 Protocol Examples Data Export Protocol Examples
216
context_id : 0
handle : 0
{0x00 0x21 0x00 0x00 0x00 0x00}
AttributeList [...]
MDS CREATE EVENT RESULT
SPpdu session_id : 0xE100
p_context_id : 2
{0xE1 0x00 0x00 0x02}
ROapdus ro_type : RORS_APDU
length : 20
{0x00 0x02 0x00 0x14}
RORSapdu invoke_id : 1
command_type : CMD_CONFIRMED_EVENT_REPORT
length : 14
{0x00 0x01 0x00 0x01 0x00 0x0e}
EventReportRes.
ManagedObjectId m_obj_class : NOM_MOC_VMS_MDS
context_id : 0
handle : 0
RelativeTime event_time : 4736768
OIDType event_type : NOM_NOTI_MDS_CREAT
u_16 length : 0
{0x00 0x21 0x00 0x00 0x00 0x00 0x00 0x48
0x47 0x00 0x0d 0x06 0x00 0x00}
SINGLE POLL DATA REQUEST
SPpdu session_id : 0xE100
p_context_id : 2
{0xE1 0x00 0x00 0x02}
ROapdus ro_type : ROIV_APDU
length : 28
{0x00 0x01 0x00 0x1c}
ROIVapdu invoke_id : 0
command_type : CMD_CONFIRMED_ACTION
length : 22
{0x00 0x01 0x00 0x07 0x00 0x16}
ActionArgument
ManagedObjectId m_obj_class : NOM_MOC_VMS_MDS
context_id : 0
handle : 0
u_32 scope : 0
OIDType action_type : NOM_ACT_POLL_MDIB_DATA
u_16 length : 8
{0x00 0x21 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x0c 0x16 0x00 0x08}
PollMdibDataReq
u_16 poll_number : 1
TYPE partition : NOM_PART_OBJ
code : NOM_MOC_VMO_METRIC_NU
OIDType polled_attr_grp : all attribute groups
{0x00 0x01 0x00 0x01 0x00 0x06 0x00 0x00}
SINGLE POLL DATA RESULT
The Single Poll Data Result message contains a PollInfoList which is of variable length. The length
fields in the message depend on the length of the PollInfoList.
SPpdu session_id : 0xE100
p_context_id : 2
{0xE1 0x00 0x00 0x02}
ROapdus ro_type : RORS_APDU
length : <xx>
{0x00 0x02 0xXX 0xXX}
RORSapdu invoke_id : 0
command_type : CMD_CONFIRMED_ACTION
length : <xx>
{0x00 0x00 0x00 0x07 0xXX 0xXX}
ActionResult
ManagedObjectId m_obj_class : NOM_MOC_VMS_MDS
context_id : 0
handle : 0
OIDType action_type : NOM_ACT_POLL_MDIB_DATA
u_16 length : <xx>
Data Export Protocol Examples 10 Protocol Examples
217
{0x00 0x21 0x00 0x00 0x00 0x00 0x0c 0x16
0xXX 0xXX}
PollMdibDataReply
u_16 poll_number : 1
RelativeTime rel_time_stamp : 4766464
AbsoluteTime abs_time_stamp : 0xffffffff 0xffffffff
TYPE partition : NOM_PART_OBJ
code : NOM_MOC_VMO_METRIC_NU
OIDType polled_attr_grp : all attribute groups
{0x00 0x01 0x00 0x48 0xbb 0x00 0xff 0xff
0xff 0xff 0xff 0xff 0xff 0xff 0x00 0x01
0x00 0x06 0x00 0x00}
PollInfoList [...]
SINGLE POLL DATA RESULT (LINKED)
It is assumed that the IntelliVue monitor needs two messages to encode all the data from a Poll
Request.
The first message would have a linked result header:
SPpdu session_id : 0xE100
p_context_id : 2
{0xE1 0x00 0x00 0x02}
ROapdus ro_type : ROLRS_APDU
length : <xx>
{0x00 0x05 0xXX 0xXX}
ROLRSapdu
RorlsId state : RORLS_FIRST
count : 1
u_16 invoke_id : 0
CMDType command_type : CMD_CONFIRMED_ACTION
u_16 length : <xx>
{0x01 0x01 0x00 0x00 0x00 0x07 0xXX 0xXX}
ActionResult[...]
The second message would contain the rest of the data:
SPpdu session_id : 0xE100
p_context_id : 2
{0xE1 0x00 0x00 0x02}
ROapdus ro_type : ROLRS_APDU
length : <xx>
{0x00 0x05 0xXX 0xXX}
ROLRSapdu
RorlsId state : RORLS_LAST
count : 2
u_16 invoke_id : 0
CMDType command_type : CMD_CONFIRMED_ACTION
u_16 length : <xx>
{0x03 0x02 0x00 0x00 0x00 0x07 0xXX 0xXX}
ActionResult[...]
Finally, the monitor sends a Remote Operation Result message:
SPpdu session_id : 0xE100
p_context_id : 2
{0xE1 0x00 0x00 0x02}
ROapdus ro_type : RORS_APDU
length :<xx>
{0x00 0x02 0xXX 0xXX}
RORSapdu invoke_id : 0
command_type : CMD_CONFIRMED_ACTION
length : <xx>
{0x00 0x00 0x00 0x07 0xXX 0xXX}
ActionResult [...]
Note that all messages contain a fully encoded ActionResult data structure. The last Remote Operation
Result message, however, would contain a PollInfoList structure with the count and length field set to 0.
A client system should not depend on the terminating Remote Operation Result to have an empty
PollInfoList. The message should be parsed as any other message.
10 Protocol Examples Data Export Protocol Examples
218
EXTENDED POLL DATA REQUEST
The next example shows a message which could be used to access averaged data. The message will only
be accepted if the optional package for Poll Profile Extensions has been negotiated during the
association phase.
SPpdu session_id : 0xE100
p_context_id : 2
{0xE1 0x00 0x00 0x02}
ROapdus ro_type : ROIV_APDU
length : 32
{0x00 0x01 0x00 0x20}
ROIVapdu invoke_id : 0
command_type : CMD_CONFIRMED_ACTION
length : 26
{0x00 0x01 0x00 0x07 0x00 0x1a}
ActionArgument
ManagedObjectId m_obj_class : NOM_MOC_VMS_MDS
context_id : 0
handle : 0
u_32 scope : 0
OIDType action_type : NOM_ACT_POLL_MDIB_DATA_EXT
u_16 length : 12
{0x00 0x21 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0xf1 0x3b 0x00 0x0c}
PollMdibDataReqExt
u_16 poll_number : 1
TYPE partition : NOM_PART_OBJ
code : NOM_MOC_VMO_METRIC_NU
OIDType polled_attr_grp : all attribute groups
AttributeList
u_16 count : 0
u_16 length : 0
{0x00 0x01 0x00 0x01 0x00 0x06 0x00 0x00
0x00 0x00 0x00 0x00}
YapingXin 2013-05-30
  • 打赏
  • 举报
回复
厂家发了个PDF,里面应该有和该设备进行通讯的说明吧 楼主,不要告诉我你看不懂英文。。。
gfwu888 2013-05-29
  • 打赏
  • 举报
回复
把PDF的资料发过来,帮你看看 qq478786262
啥都不知道 2013-05-28
  • 打赏
  • 举报
回复
信息尽可能详细!
啥都不知道 2013-05-28
  • 打赏
  • 举报
回复
能把pdf发给我吗 我帮你看看 qq 295775307
知擎物联 2013-05-23
  • 打赏
  • 举报
回复
楼主结贴率真高,围观下。

111,093

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • AIGC Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧