trigger:
insert_mms_pending_on_insert:当pdu表中插入了一条数据,类型为130(彩信通知)或135(待发送阅读报告),说明有信息要发送,trigger会在pending_msgs表插入一条数据;
delete_mms_pending_on_update:当pdu表中有记录的msg_box从4-待发件箱改为别的值,说明有一条信息已经发出等,就从pending_msgs表中删除一条对应数据
短信表:sms、raw、sr_pending、attachments。
彩信表:pdu、part、addr、drm、rate。
公共表:canonical_addresses、threads、pending_msg、words。
短信表sms
_id
短信id
thread_id
对应的会话id
address
对方的号码
person
联系人列表里的ID
date
接收时间
data_sent
发送时间
protocol
read
用户是否看过这条信息
0-未读;1-已读
status
信息状态,默认是-1
待发送32;
发送失败64;
已送达0(开启了送达报告)
type
信箱类型id值
和pdu.msg_box作用和赋值相同
reply_path_present
subject
信息主题,一般为空
body
短信内容
service_center
服务中心即短信中心,只有gsm
卡有,如+8613800100500
locked
是否锁定,默认0=不锁定
error_code
seen
用户是否看过这条信息的通知
0-没看过;1-看过了
短信表raw
_id
流水号
date
reference_number
count
s