add transmit

has change too much
1,change addr
2,g_flag12